RE: [JBoss-user] Old jserv with JBoss'

2001-06-14 Thread Saint-Martin Cecile
You don't need absolutely a war file with tomcat; it works with classes in correct directory. SAINT-MARTIN Cecile [EMAIL PROTECTED] > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Emerson > Sent: Wednesday, June 13, 2001 1:58 PM > To: [EMAIL PROTE

[JBoss-user] No resource manager message, MySQL and JBoss

2001-06-14 Thread Jonathan Gibbons
Hi, I'm just getting into JBoss and MySQL, and I've got it all working, EJB BMP's connecting to a pool which uses MySQL. BUT, I get 'No resource manager found for java:/mydb message for each of the EJB's. JBoss initialisation output shows: ... [JDBC provider] Initializing [JDBC provider] Load

RE: [JBoss-user] PreparedStatement in MySQL (Syntax error!!!)

2001-06-14 Thread Pelle Poluha
I forgot to say thanks. Thanks. It was that (and some other stupid mistakes I did). /Pelle Poluha >When you're using a prepared statement and you have a String >parameter like >your number 2 and 3: >ps.setString(2,"'"+name+"'"); >you don't need to add the "'" because he handles for you, try >thi

[JBoss-user] Comments on JBoss/Tomcat JAAS docs etc. [was: manual]

2001-06-14 Thread negaton
Scott M Stark wrote: > > So I see three options here. > 1. Take the 10k your saving and write 10k worth of docs. > 2. Send 10k to JBoss and we'll write 10k worth of docs. > 3. Read the ultimate docs(the source) and save 10k less the hours it takes you. > I'll second that. There's nothing worse

RE: [JBoss-user] Non-unique Primary Keys

2001-06-14 Thread Paul Austin
Title: RE: [JBoss-user] Non-unique Primary Keys Sun's J2EE developer guide has a good section on this at http://java.sun.com/j2ee/j2sdkee/techdocs/guides/ejb/html/Entity6.html#9455. Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nordahl, D

[JBoss-user] :-) EJB2.0 RunAs

2001-06-14 Thread Lewis Henderson
Scott, I notice in a previous post you said that 'RunAs' will be implemented in 2.3 in the near futureany idea when(ish)? Lewis ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] WARNING: no match found for security role...

2001-06-14 Thread Pelle Poluha
Thanks Scott. But why doesn't Sun's deploytool insert these elements? /Pelle Poluha ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] Little problem in test

2001-06-14 Thread Antoine . ISIDOR
Well I've downloaded the cdEJB exemple in jboss/documentation . All files compiled with success, i've deployed it with no more problem. But from the test, when I run "run-list.sh" file , even when I execute "List" by hand, nothing appens ??? No errors, no messages, nothing. So I thought my s

RE: [JBoss-user] Little problem in test

2001-06-14 Thread Lau Chet Hong
You'll need to run the run_upload first to insert some sample data into the database first, before the run_list will show any data. Regards, ChetHong Lau > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 14, 2001 6:07 PM > To: [EMAIL PROTECT

[JBoss-user] httprequest fired twice

2001-06-14 Thread Jee-Meng Ang
Just wondering whether anyone faced the problem of Jboss / Tomcat combination firing two HTTPRequest events from MS Internet Explorer? Regards, Jee Meng. winmail.dat

Re: [JBoss-user] manual

2001-06-14 Thread Kemp Randy-W18971
Let's explore the documentation question from another angle. If you look at the databases postgresql and mysql, most people on this list would say that they are excellent, have been around in some form or another for several years, and postgresql is more advanced. But the truth of the matter

Re: [JBoss-user] JBossMQ exception on startup

2001-06-14 Thread Allan Kamau
I have the same problem in Windows 2000 server but not on Linux. Can anyone help, thank you in advance. Allan. --- "Ferguson, Doug" <[EMAIL PROTECTED]> wrote: > Hey, > > I get following exception on jboss startup for win2k > but not on linux. > > [JBossMQ] Starting > [JBossMQ] Cannot start th

Re: [JBoss-user] manual

2001-06-14 Thread Juha Lindfors
You know, instead of all this exploring, why don't you all just get on the jboss-docs mailing list and start contributing to the documentation project instead. That way the energy you're pouring into writing these emails will be much better utilized. -- Juha At 08:15 14.6.2001 -0500, you wrote:

[JBoss-user] unable to instantiate LoginConfiguration from applet, continued

2001-06-14 Thread Pelle Poluha
Hello again! I'm still trying to get my applet working :-). But still no success. Before I added security the applet was working. Not I get a SecurityException when the LoginContext is instantiating. I've tried to sign the applet jar and it seems like I got a few steps further. As can be seen bel

Re: [JBoss-user] Non-unique Primary Keys

2001-06-14 Thread toby cabot
> In other words, I have a table which doesn't have a unique primary > key but rather a pair of fields that must be unique. How do I make > a primary key object without having to add another field to the > database? The quick answer is yes, you can do this, and you probably want to check out EJB

RE: [JBoss-user] The method return values in the home interface mustbe of valid types for RMI/IIOP.

2001-06-14 Thread Nordahl, David C
I ran into this a little bit ago.. There is a good thread on it in the archive where someone listed all the possible reasons it can occur.. Try taking out the EJBException from the stuff that gives an error. If you're using TogetherSoft, it throws those in and the verifier gives that cryptic err

[JBoss-user] Customer Finders in CMP ejb

2001-06-14 Thread Noorzaie, Jamal
Group: What is the appropriate scheme for using custom finders in a CMP ejb. Based on the JBoss documentation, you define the finder method for example findByUsernamePassword() in the HOME interface: public Long findByUsernamePassword(String username, String password) throws FinderException, Rem

[JBoss-user] JMS performance.

2001-06-14 Thread Vipul Lalka
Hello, I am conducting some tests on performance related issues with using JMS on various J2EE App. Servers. I have a simple Java client that constructs a message of type MapMessage and posts it to a JMS Topic. I noticed that on an average, it takes around 3.7 milliseconds to compose this messa

Re: [JBoss-user] httprequest fired twice

2001-06-14 Thread Christofer Sandberg
Yes, I have this problem aswell. Don't know if its a bug in IE or in Tomcat, but i would guess IE as both Netscape/Mozilla and Opera works fine. On 14 Jun 2001 19:30:19 +0800, Jee-Meng Ang wrote: > Just wondering whether anyone faced the problem of Jboss / Tomcat > combination firing two HTTPRe

[JBoss-user] Running on Solaris

2001-06-14 Thread David A. Palmer
We are trying to run on Solaris. We keep getting the follwing message when running with tomcat. Jboss by itself starts fine. Any idea?   root >> run_with_tomcat.sh./run_with_tomcat.sh: JBOSS_CLASSPATH=:/programs/j2sdk1_3_1/lib/tools.jar: is not an identifier     Thanks David Palmer

Re: [JBoss-user] httprequest fired twice

2001-06-14 Thread R . Price
We have seen it as well...since we get it on any app server we run on, we've concluded that it is IE.   Thanks Bill !! Robert Price epixtech, inc. (801) 223-5954 [EMAIL PROTECTED] Christofer Sandberg <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 06/14/2001 09:03 AM Please respond to jbos

Re: [JBoss-user] :-) EJB2.0 RunAs

2001-06-14 Thread Scott M Stark
Its something I'm working on now. What is your interpretation of the runAs semantics? - Original Message - From: "Lewis Henderson" <[EMAIL PROTECTED]> To: "JBoss User (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 2:12 AM Subject: [JBoss-user] :-) EJB2.0 RunAs > Scott, > I

RE: [JBoss-user] Customer Finders in CMP ejb

2001-06-14 Thread RRokytskyy
> > > >JamalSecurity >AR_SECURITY >false > > security_id_ > SECURITY_ID > > > username_ > USERNAME > > > password_ > PASSWORD > > >

RE: [JBoss-user] Customer Finders in CMP ejb

2001-06-14 Thread RRokytskyy
Hi, Sorry, for incomplete post (incidentally hit "send"). > > > > > >JamalSecurity >AR_SECURITY >false > > security_id_ > SECURITY_ID > > > username_ > USERNAME > > > passwor

RE: [JBoss-user] httprequest fired twice

2001-06-14 Thread RRokytskyy
Are requests the same? I suspect that IE first asks whether the content had been changed (if it wasn't changed, it will deliver local cached copy), and if the content had been changed, it will sent the right request to get the page. > Yes, I have this problem aswell. Don't know if its a bug in IE

Re: [JBoss-user] Running on Solaris

2001-06-14 Thread Bruce Snyder
"David A. Palmer" wrote: > > We are trying to run on Solaris. We keep getting the follwing message > when running with tomcat. Jboss by itself starts fine. Any idea? > > root >> run_with_tomcat.sh > ./run_with_tomcat.sh: > JBOSS_CLASSPATH=:/programs/j2sdk1_3_1/lib/tools.jar: is not an > identifi

Re: [JBoss-user] How to use uniqueidentifier / auto-numbering field in a database ?

2001-06-14 Thread danch (Dan Christopherson)
David Nordahl wrote: > If you can't get SQL Server's autonumber to work, And you won't for reasons that I tire of reiterating. > you can make a > PrimaryKeyBean which issues unique primary keys for your different beans. > Its attributes would be the last issued key for each table/bean which n

[JBoss-user] Web Application?

2001-06-14 Thread Optima
Greetings all,   Everytime I start the JBoss 2.2.2 + Tomcat 3.2.2, it requires to connect to check the "web.xml" in "tomcat_test.war" in "tomcat_test.ear".  Pls advise how could I prevent it?   I think that it's the line in web.xml asking for connection:   http://java.sun.com/j2ee/dtds/web-ap

RE: [JBoss-user] JMS performance.

2001-06-14 Thread marc fleury
|I noticed that on an average, it takes around 3.7 milliseconds to |compose this message on the Weblogic Server whereas it takes 200 |milliseconds to compose this same message on the JBoss Server. Anytime there is "orders" of magnitude in creating object it usually means that there is serious ser

[JBoss-user] Client files jar or just .classes ??

2001-06-14 Thread Stephen White (EHPT)
Title: Client files jar or just .classes ?? Hi Everyone, Im new to the list and to Jboss so if my questions are too benial please bear with me.. Ok Iv just done the interest example and first thought that Id compile the *.java files myself and then create the interest.jar file and ejb-jar.xml

RE: [JBoss-user] manual

2001-06-14 Thread marc fleury
|You know, instead of all this exploring, why don't you all just get on the |jboss-docs mailing list and start contributing to the documentation project |instead. That way the energy you're pouring into writing these emails will |be much better utilized. thank you, I was going to fire one myself

Re: [JBoss-user] How to use uniqueidentifier / auto-numbering field in a database ?

2001-06-14 Thread Konstantin Priblouda
> > you can make a > > PrimaryKeyBean which issues unique primary keys > for your different beans. > > Its attributes would be the last issued key for > each table/bean which needs > > a unique id. I already produced such bean, and would share it with a community, if there is a demand. =

Re: [JBoss-user] httprequest fired twice

2001-06-14 Thread Jee-Meng Ang
Yes, the requests are the same. IE just fired it twice. It looks like we have all confirmed that IE is the culprit here. I haven't tested using Netscape yet. I have posted the same question in the tomcat-user mailing lists. It seems other ppl have this problem too. Apparently, under certain

Re: [JBoss-user] Running on Solaris

2001-06-14 Thread Daren R. Sefcik
On Thu, 14 Jun 2001, David A. Palmer wrote: > We are trying to run on Solaris. We keep getting the follwing message when > running with tomcat. Jboss by itself starts fine. Any idea? > > root >> run_with_tomcat.sh > ./run_with_tomcat.sh: JBOSS_CLASSPATH=:/programs/j2sdk1_3_1/lib/tools.jar: > is n

Re: [JBoss-user] JBossMQ exception on startup

2001-06-14 Thread Jay Scherer
the only solution I found, and it's not a solution, is to go back to 2.2.1 or get the source from cvs and recompile. jay Allan Kamau wrote: > I have the same problem in Windows 2000 server but not > on Linux. > Can anyone help, thank you in advance. > > Allan. > > --- "Ferguson, Doug" <[EMAIL P

RE: [JBoss-user] How to use uniqueidentifier / auto-numbering field in a database ?

2001-06-14 Thread Tejaswi Redkar
I think we all would like to use your bean. It is in high demand. Could you please send it to us ? Thanks Tejaswi -Original Message- From: Konstantin Priblouda [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 8:53 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] How to use uni

Re: [JBoss-user] JBossMQ exception on startup

2001-06-14 Thread Scott M Stark
You will only see this problem if your zip utility does not create empty directories that exist in the zip archive. I am able to run the 2.2.2 build on w2k by unziping the JBoss-2.2.2.zip with the java jar command. - Original Message - From: "Jay Scherer" <[EMAIL PROTECTED]> To: <[EMAIL

[JBoss-user] Combo primary keys in ejb-jar

2001-06-14 Thread Nordahl, David C
If you use a PK class which is an aggregate of multiple fields, what to you put for of the ejb-jar.jar file? ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] How to use uniqueidentifier / auto-numbering fie ld in a database ?

2001-06-14 Thread Konstantin Priblouda
--- Tejaswi Redkar <[EMAIL PROTECTED]> wrote: > I think we all would like to use your bean. It is in > high demand. > > Could you please send it to us ? Answering to popular demand, here is source for SequenceEJB.java To made a EJB from it, just throw it to ejbdoclet. Adjust package names as a

RE: [JBoss-user] Running on Solaris

2001-06-14 Thread Dan Bratton
edit your 'run_with_tomcat.sh' file and change the line that reads:   export JBOSS_CLASSPATH=$JBOSS_CLASSPATH:$JAVA_HOME/lib/tools.jar   to read:   JBOSS_CLASSPATH=$JAVA_HOME/lib/tools.jar:$JBOSS_CLASSPATH   that should take care of it for you   db -Original Message-From: [EMA

Re: [JBoss-user] Combo primary keys in ejb-jar

2001-06-14 Thread Mike Hoolehan
The class name (with package) of your primary key class. Here's one I use. Models a Saved Query The Saved Query Entity bean SavedQueryHome sai.mbz.dat.savedquery.SavedQueryHome sai.mbz.dat.savedquery.SavedQuery sai.mbz.dat.savedquery.Sav

Re: [JBoss-user] Problem with custom finders in a CMP EJB.

2001-06-14 Thread danch (Dan Christopherson)
Noorzaie, Jamal wrote: > Hi Group: > public Long ejbFindByPrimaryKey(Long pk) throws FinderException, > RemoteException { > security_id_ = pk; > return pk; > } If your bean is CMP, you shouldn't implement ejbFindByPrimaryKey. If your bean

[JBoss-user] JSP examples fail (was: What is a "web container" ?)

2001-06-14 Thread Claus Nielsen
On 13 Jun 2001 14:37:30 -0400, Tahir Awan wrote: > Make sure you are running jboss with tomcat. Try "run tomcat" from > jboss/bin. > Also check if you are getting "[EmbeddedTomcat]started" message in jboss > console. > > Tahir Right! Now I really feel stupid - running the right script helps a l

Re: [JBoss-user] manual

2001-06-14 Thread danch (Dan Christopherson)
Georg Rehfeld wrote: > Hi, > > note, I'm not complaining about bad JBoss docs, I find them brief > and enhancable but covering most important things yet, but And I'm not saying that documentation shouldn't be improved, but I think that much of your argument here is actually for requirements

[JBoss-user] notifying clients of events

2001-06-14 Thread Jay Scherer
What is the easiest way to notify all of your connected clients that an event has occurred? If I was using straight rmi, I'd write an interface and publsh that to the server and do a client-callback on that interface. Should I be using JMS? If so, should I be using durable or nondurable subscri

Re: [JBoss-user] Combo primary keys in ejb-jar

2001-06-14 Thread danch (Dan Christopherson)
Just to clarify what Mike is saying: you don't use a , you use Mike Hoolehan wrote: > The class name (with package) of your primary key class. Here's one I use. > > > Models a Saved Query > The Saved Query Entity bean > SavedQueryHome > sai.mbz.dat.sa

Re: [JBoss-user] Web Application?

2001-06-14 Thread Christof Lehmann
Hello, Where do you find the tomcat_test.ear file? > Optima wrote: > > Greetings all, > > Everytime I start the JBoss 2.2.2 + Tomcat 3.2.2, it requires to > connect to check the "web.xml" in "tomcat_test.war" in > "tomcat_test.ear". Pls advise how could I prevent it? > > I think that it's th

[JBoss-user] Re: Custom Finder problem in CMP ejb

2001-06-14 Thread Noorzaie, Jamal
Hey Roman and Dan: Thanks for your help. You guys are exactly right about not using the in the query in jaws.xml for defining custom finders. I used the actual column names from the database and it worked as you had recommended. Thanks again, Jamal. ___

Re: [JBoss-user] Web Application?

2001-06-14 Thread Scott M Stark
Use the beta2 release of the JBoss 2.2.2 + Tomcat 3.2.2 bundle that contains an local entity resolver to avoid this problem. - Original Message - From: "Optima" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 8:32 AM Subject: [JBoss-user] Web Application? Greet

RE: [JBoss-user] JMS performance.

2001-06-14 Thread Vipul Lalka
Hi Marc, Thanks for your reply. I am new to this JBoss group as well as using JBoss. I couldn't understand your reply completely. I would greatly appreciate it if you could ellaborate on your response. > I remember Rickard telling me about a little flag one would set to > instruct the VM >to re

[JBoss-user] Expanded form

2001-06-14 Thread Boris Garbuzov
I did not find anywhere a description how to deploy expanded structure of EJB or more - J2EE application. When I unpack the interest.jar example (that works in archived form) into an interest directory and put it into deploy directory, it is ignored by JBoss. Should I change some properties? Is

RE: [JBoss-user] JMS performance.

2001-06-14 Thread marc fleury
|2. Regarding reusing the object - In my code, the message is created |only ONCE in an init() method, using this - | msg = tsession.createMapMessage(); |where tsession is a TopicSession. it is not an issue with your application it is an issue with the underlying implementation, if it takes

Re: [JBoss-user] JSP examples fail (was: What is a "web container"?)

2001-06-14 Thread gsmecher
Hi, Ensure that tools.jar is in your classpath when you execute run_with_tomcat.sh. When a JSP is first accessed, it is converted into a servlet and compiled --- what's going wrong, is that Tomcat (...Jasper) cannot find the java compiler. Cheers, Graeme Smecher On 14 Jun 2001, Claus Nielsen w

[JBoss-user] passing paramets/args to embedded tomcat

2001-06-14 Thread Keith Kee
Hi: I am using Jboss-2.2.2_Tomcat-3.2.2, and like to be able to pass arguments to tomcat during startup. For instance, I want tomcat to read an alternative file, rather that server.xml. How can I do that? Thanks! keith ___ JBoss-user mailing list [E

[JBoss-user] Cannot get tomcat working with JBoss

2001-06-14 Thread Allan McLemore
Cannot get tomcat working with JBoss. Here's my setup: Operating System: Windows 2000 Professional Java: JDK 1.3.1 and J2SDKEE 1.2.1 JBoss Version: JBoss-2.2.2_Tomcat-3.2.2 The interest client example works fine, but the tomcat-test.ear does not work. The instructions are not very clear for s

[JBoss-user] jboss-web.xml in web contexts defined in server.xml instead of a war file not working

2001-06-14 Thread Paul Austin
Title: jboss-web.xml in web contexts defined in server.xml instead of a war file not working I have a web application that uses JAAS security to secure servlets. When the app is deployed as a war file the user is allowed access to the servlets. When the application is defined as a context in

[JBoss-user] Entity beans not caputer System.out

2001-06-14 Thread Ferguson, Doug
I print out debug messages in my entity bean but they do not appear in my console. The just started happening when I installed jboss2.2.2 w/ integrated tomcat. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/j

[JBoss-user] Auto-increment CMP primary key?

2001-06-14 Thread Richard Kasperowski
Another newbie question: Using a totally out-of-the-box JBoss+TomCat, I built a container managed EJB. The EJB's primary key is a Long; the idea is that a simple serial number is sufficient. In my bean's ejbCreate(), is there a recommended way to automatically generate the next Long? Thanks

Re: [JBoss-user] Cannot get tomcat working with JBoss

2001-06-14 Thread K.V. Vinay Menon
Have not downloaded this version of JBoss but it seems like the start up is not seeing jars under tomcat/lib. - Original Message - From: "Allan McLemore" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 9:02 PM Subject: [JBoss-user] Cannot get tomcat working with

Re: [JBoss-user] JSP examples fail (was: What is a "web container" ?)

2001-06-14 Thread K.V. Vinay Menon
JBoss/Tomcat combo Not finding JDK_HOME/lib/tools.jar in classpath. - Original Message - From: "Claus Nielsen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 6:29 PM Subject: [JBoss-user] JSP examples fail (was: What is a "web container" ?) > On 13 Jun 2001 14

RE: [JBoss-user] Auto-increment CMP primary key?

2001-06-14 Thread Nordahl, David C
You'd need to create a PrimaryKeyBean like mentioned in earlier posts today only with fields that store the last number issued for each of your other beans that need these ids. Then create one instance of that PrimaryKeyBean to do the work. Then in the ejbCreate() method, call some findBy on Pri

Re: [JBoss-user] Entity beans not caputer System.out

2001-06-14 Thread K.V. Vinay Menon
Hmm, did you also check the server.log? - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 9:56 PM Subject: [JBoss-user] Entity beans not caputer System.out > > I print out debug messages in my ent

Re: [JBoss-user] Expanded form

2001-06-14 Thread K.V. Vinay Menon
don't put it in another folder. simply unjar the file as is under deploy. the auto deployer should pick it up from there. - Original Message - From: "Boris Garbuzov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 7:17 PM Subject: [JBoss-user] Expanded form > I

RE: [JBoss-user] Auto-increment CMP primary key?

2001-06-14 Thread Jim Archer
Or, if your not concerned with humans seeing the data, you could use the java.rmi.server.UID class. This class will generate a unique ID, with respect to the host its running on. For an ID unique accross a cluster, add the IP address to it. Jim --On Thursday, June 14, 2001 4:28 PM -0500 "Nord

[JBoss-user] Pass by reference between two SLSBs?

2001-06-14 Thread Jim Archer
Hi All... I have noticed that jBoss can pass a Collection by reference from one SLSB into another. If I am in a SLSB and pass a Collection of objects into a different SLSB (via its remote interface, of course), modify the Collection in the called SLSB and then return, the SLSB I issued the cal

[JBoss-user] HOW TO DISABLE ENTITY-BEAN CACHING ???

2001-06-14 Thread Frank Villarreal
Hello all. I was wondering if someone can give me a hand. I temporarily need to disable all entity-bean caching in JBoss. Is this possible? My problem is that I have an external application that is updating my entity-bean tables (I will eventually eliminate that, but for now I have no choice i

Re: [JBoss-user] Pass by reference between two SLSBs?

2001-06-14 Thread Scott M Stark
By default containers used optimized in vm call semantics to avoid RMI serialization costs. See the Optimized flag in the container-invoker-conf element discussion here: http://www.jboss.org/documentation/HTML/ch06s08.html - Original Message - From: "Jim Archer" <[EMAIL PROTECTED]> To: <

[JBoss-user] ClassCastException when getting Home Interface from within Servlet (Jetty)

2001-06-14 Thread Tilchen, Matt
Title: ClassCastException when getting Home Interface from within Servlet (Jetty) Hello all,       I am running JBoss 2.2.2 and Jetty3.1 RC5. I am getting the following stacktrace after using PortableRemoteObject.narrow() and casting the return value to the expected home interface.  

[JBoss-user] XADatasource connection from outside of EJB

2001-06-14 Thread Ferguson, Doug
Hi, I understand that it is bad to obtain a database connection via jndi from outside of jboss but is it ok to obtain a connection via jndi from a non ejb that will run inside of jboss? Thanks, d. ___ JBoss-user mailing list [EMAIL PROTECTED] http://l

Re: [JBoss-user] XADatasource connection from outside of EJB

2001-06-14 Thread Toby Allsopp
On Thu, Jun 14, 2001 at 05:37:41PM -0500, Ferguson, Doug wrote: > Hi, > > I understand that it is bad to obtain a database connection via jndi from > outside of jboss but is it ok to obtain a connection via jndi from a non ejb > that will run inside of jboss? That's fine. BTW, XADataSource is n

RE: [JBoss-user] XADatasource connection from outside of EJB

2001-06-14 Thread Ferguson, Doug
No... Yeah... I realize that the java code just sees the DataSource interface and that XA is just an implementation. Just to confirm... It would be bad to try and get the connection passed to another VM. cheers, d. -Original Message- From: Toby Allsopp [mailto:[EMAIL PROTECTED]] Sent

Re: [JBoss-user] Integrated Tomcat throws a security exception

2001-06-14 Thread Lionel Siau
IMHO, Yeah, far too much. I would rather rely on Tomcat 4.0(development now) to provide the web container (is jsp/servlet/web server) combo 'in front' of jboss. Lionel - Original Message - From: "Guy Rouillier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 1:

Re: [JBoss-user] Tomcat redeploy strangeness

2001-06-14 Thread Lionel Siau
Marc, what do u mean by context of B/page.jsp? U mean jsp/bean code that does a JNDI lookup? Lionel - Original Message - From: "marc fleury" <[EMAIL PROTECTED]> To: "Jboss-User@Lists. Sourceforge. Net" <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 1:00 PM Subject: [JBoss-user] Tomca

[JBoss-user] Unclean Shutdown at Win2000

2001-06-14 Thread David Cao
Hi, I got an unclean shutdown problem ( in windows 2000 server), it happened some times, after I shutdown the server, and start (with tomcat) it, i get this error when deploy ejb: ServerException: Could not bind either home or invoker; nested exception is: java.rmi.server.ExportExceptio

Re: [JBoss-user] XADatasource connection from outside of EJB

2001-06-14 Thread Toby Allsopp
On Thu, Jun 14, 2001 at 06:55:05PM -0500, Ferguson, Doug wrote: > Just to confirm... It would be bad to try and get the connection passed > to another VM. It would be a waste of time because it won't work. It's also bad conceptually. A database connection has all sorts of local resources associ

Re: More Re: [JBoss-user] When do entity beans commit?

2001-06-14 Thread Bryan Field-Elliot
Hi Georg, Regarding this problem I've been having -- thank you for all your thoughts and help. I have no idea why the code was executing inside a transaction, since the session bean method was definitely marked Never, and the entity bean Supports. Perhaps this is a bug, or perhaps the "spec-und

[JBoss-user] expanded form

2001-06-14 Thread Boris Garbuzov
Unfortunately, files in the jar are flat, there is no folder in the path, so I can not unjar all that crap into deploy directory, I need to put into some context folder. -- don't put it in another folder. simply unjar the file as is under deploy. the auto deployer should pick it up fro

[JBoss-user] Out of sync EJBs after passivation

2001-06-14 Thread Norton Lam
Hey, all, I'm having a problem that looks to be a variation of a problem posted here earlier. However, I never saw if it was classified a bug and is being fixed, or if there is a workaround. I have an EJB A. It contains one to many EJBs B. When I retrieve several A EJBs via a column other than

[JBoss-user] Weird deployment error...

2001-06-14 Thread Phan Anh Tran
My remote interface: public interface DataManager extends EJBObject { blabalala... } My home interface: DataManagerHome DataManager create() throws CreateException, EJBException, RemoteException; == JBOSS 2.2.2 error... Bean : DataManagerBean Method : public abstr

[JBoss-user] How do I use Other Messaging Servers with JBoss EJB Server

2001-06-14 Thread Madhu
Hi, I am trying to use Fiorano Messaging Server with JBoss EJB Server. My messaging is not working properly. I am not starting the embedded JbossMQ of Jboss-2.2.1. When I try to use JbossMQ server for Messaging, everything is working fine. What might be the problem?.

[JBoss-user] My Jdbc pool doesn't work,help!

2001-06-14 Thread li_c
Hello everyone: I have config a connection pool for oracle8i in jboss.cml and when jboss started, the message in the console is: [OracleDB] Initializing [OracleDB] Initialized [OracleDB] Starting [OracleDB] XA Connection pool OracleDB bound to java:/OracleDB [OracleDB] Started

Re: [JBoss-user] Weird deployment error...

2001-06-14 Thread Phan Anh Tran
Found the problem...In my remote interface, I used a number of data types which were not RMI-IIOP compliant. Is it possible to tell JBOSS to use pure RMI or non-IIOP transport? I have no need for CORBA interop... Anh - Original Message - From: "Phan Anh Tran" <[EMAIL PROTECTED]> To: <[

[JBoss-user] Examples & VisualCafe

2001-06-14 Thread Richard Bottoms
Thanks for such a great piece of technology. What I am interested in are some very in-depth examples on the order of what's in books like 'Mastering Enterprise Java Beans.' In fact, a book itself would be great. I'd be up for helping in the creation of an eBook or Acrobat version. Additionally,

[JBoss-user] Re: Out of sync EJBs after passivation

2001-06-14 Thread Dmitri Colebatch
Norton, Our problem from the previous thread that you refer to was that in our ejbPassivate code we did not set our dataholder to null. Ok - I think this is what your problem is: If you are holding references to other ejbs, the you should set them to null in ejbPassivate and re-obtain them

RE: [JBoss-user] httprequest fired twice

2001-06-14 Thread Jee-Meng Ang
Just wondering if anyone has been able to find a way to resolve this issue. I did a preliminary testing and found that the requests are similar, including all the headers. JM. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jee-Meng Ang Sent: Thursday, J

Re: [JBoss-user] Weird deployment error...

2001-06-14 Thread Hermann RANGAMANA
Remove EJBException from your create method ---Hermann - Original Message - From: "Phan Anh Tran" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 15, 2001 7:12 AM Subject: [JBoss-user] Weird deployment error... > My remote interface: > > public interface DataManage

Re: [JBoss-user] JBossMQ exception on startup

2001-06-14 Thread Guy Rouillier
Make sure the directory c:/java/JBoss-2.2.2_Tomcat-3.2.2/jboss/db/jbossmq is present. If not, create it. It wasn't for me with 2.2.1. - Original Message - From: "Allan Kamau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 9:32 AM Subject: Re: [JBoss-user] JBos