Re: [JBoss-user] Exception methodology with EJBs

2001-04-04 Thread Scott M Stark
Chapter 12 of the EJB 1.1 spec talks about exception handling. 12.1.1 Application exceptions An application exception is an exception defined in the throws clause of a method of the enterprise Bean's home and remote interfaces, other than the java.rmi.RemoteException. Enterprise bean business m

Re: [JBoss-user] Re: Tradeoffs: Running Tomcat separately from JBoss?

2001-04-04 Thread Russell
Hi John , We have done that successfully.However there are some bugs on Tomcat , it cannot read jar files from jboss in the /WEB_INF/lib You need to set classpath in the tomcat for required jar file in /client directory in your jboss instal folder. There are some doc in the jboss how to do th

[JBoss-user] Troubleshooting DeploymentException: bean not found within this application

2001-04-04 Thread David M. Karr
I'm trying to build and deploy the "CD" entity bean demo. I've specifically typed in all the files manually, to "train my fingers", and allow me to run into my own mistakes. When I deploy the jar, I see the following: - [Auto deploy] Auto deploy of file:/C:/jboss-2.1/deploy/ejbt

Re: [JBoss-user] ECperf project

2001-04-04 Thread Tom . Daly
Tom, Actually I was working on JBoss on Solaris and Linux 7 and got it working on both platforms well at least I got one user running on both platforms. I would be interested to try my build with the cloudescape schema and whatever JDBC drivers you recommend (I was using Oracle). I take it you d

RE: [JBoss-user] JDBC for JDK1.3 for Oracle 8i 8.1.7

2001-04-04 Thread Iny, Yair
Hi, I have a similar setup with Oracle 8.1.6. You can use the classes12.zip file that is under the oracle installation folder under jdbc. This driver works with jdk 1.3. Good luck, Yair Iny -Original Message- From: Chong Joon lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2

Re: [JBoss-user] Question on 2.1 status

2001-04-04 Thread P H
Danch, Cool deal. Thanks for the information. Can you tell me approximately when 2.2 will be released? I'd like to use jBoss for e-commerce sites. Thanks, Patrick > > 2.1 (which was a development series) is about to be released as 2.2 > (production series) > > In the future, JBoss is adop

[JBoss-user] Exception methodology with EJBs

2001-04-04 Thread Peter Routtier-Wone
What's the deal with exception handling in EJBs? I don't find anything dealing specifically with the subject in any of my books, other than passing references to RemoteException, which seems largely concerned with transport failures. Are EJBs supposed to be able to throw exceptions? If so, are th

Re: [JBoss-user] Re: Tradeoffs: Running Tomcat separately from JBoss?

2001-04-04 Thread Guy Rouillier
There is tons of documentation available on getting tomcat working with apache, so I'm assuming that is not an issue. Now on to jboss. I have it running on a separate server, but that is unimportant. To separate business logic from presentation (because we have creative types doing presentation

Re: [JBoss-user] Writing a finder which returns max id used

2001-04-04 Thread Guy Rouillier
Regarding portability, that can probably best be handled by abstracting it out into a pluggable interface (which I realize the entity framework is trying to avoid.) So the code would say "get next unique id" and the Oracle plug-in would get the next number from its sequence, while Sybase would sp

Re: [JBoss-user] Apache + Tomcat + JBoss

2001-04-04 Thread Guy Rouillier
No, you do not need embedded tomcat. We have all 3 running as separate processes (jboss on a different box) and they all work fine. You've already got tomcat and apache working. Now just use simple java beans in tomcat to communicate with the ejb's under jboss. - Original Message - Fro

[JBoss-user] Why can not I use my mySQL data source?

2001-04-04 Thread Sam Liu
Hi, all   I am configing mySQL data source with my cmp ejb, according to the instructions on the jboss manual, I have done all of the steps, but I can't yet use my datasource.   these are my steps: 1 In jboss.jcml   a: I added my mySQL driver:   org.gjt.mm.

Re: [JBoss-user] Deployment problems in v2.1

2001-04-04 Thread Peter Routtier-Wone
> I am new to JBoss and hope that this question is not a waste of your time. Next time try searching the list archive. This very question was answered not two weeks ago. Somehow you have managed to use two different compilers. This happened to me at one time - I had my editor set up to shell th

Re: [JBoss-user] Java Pet Store / JNDI names

2001-04-04 Thread Scott M Stark
The latest version of the pestore patch which is documented at: http://www.jboss.org/documentation/petstore-1.1.1-01.html requires no changes to the JNDI lookup from jsp pages. The JNDI names do come from the jboss-web.xml file. Go through that instead of the out of date manual content. - Ori

[JBoss-user] Error using a bean in JBoss from Jakarta-4.0

2001-04-04 Thread Warren Crossing
still stuck.. i've removed the static reference and now each class has its own lookupManager() method. i've also copied jnp-client.jar into CATALINA/server/lib and CATALINA/lib to no avail. i've tried coping jndi.jar into CATALINA/server/lib then i get ERROR reading /home/warrenc5/opt/tomcat/

[JBoss-user] Re: Tradeoffs: Running Tomcat separately from JBoss?

2001-04-04 Thread John Menke
Guy, How did you set this up? Is there any information on how to do this on the web? ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] Deployment problems in v2.1

2001-04-04 Thread David Krauza
I am new to JBoss and hope that this question is not a waste of your time.   I am using RH7 and Blackdown 1.3.0.   I am working thru the interest example and getting the following error when I copy the interest jar to the /deploy directory:   [Container Factory] Deploying file:/tmp/deploy/De

[JBoss-user] Problem with jBoss(v2.0) and MSSQL Server7.0 Connection pool.

2001-04-04 Thread Ashesh Sheth
Hi, I am new with jBoss and i am using with SQLServer7.0 with it and using commercial drivers(inet- Sprinta2000.jar -from www.inetsoftware.de ) to connect to database. Now i am trying to create the connection pool with jBoss and according to documentation i did all the things(with .prop file and

RE: [JBoss-user] Can I find a Deployment tool?

2001-04-04 Thread marc fleury
frankly the JMX invocation is NOT the best way to deploy... we provide the deployer for that marc |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Wei Jiang |Sent: Wednesday, April 04, 2001 5:34 PM |To: [EMAIL PROTECTED] |Subject: RE: [JBoss-user] Can

RE: [JBoss-user] transaction strategy of jboss

2001-04-04 Thread marc fleury
Roberto, come on man, not you! do me a favor, pull those fingers out of your *rse and go look at the locking strategy for the stateful container (StatefulTxInterceptor) something like that. What is going on? a former "paratrooper" is growing into a fat cat at Siemens? and expect a legion of min

Re: [JBoss-user] Are there DTDs available for the various EJB/JBOSS config files?

2001-04-04 Thread Scott M Stark
Any DTDs/schemas that exist should be in the jboss cvs module under the src/resources/org/jboss/metadata directory. - Original Message - From: "David M. Karr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 12:18 PM Subject: [JBoss-user] Are there DTDs availab

Re: [JBoss-user] Writing a finder which returns max id used

2001-04-04 Thread Peter Routtier-Wone
> You can also use the facilities of the database engine to help with this > problem. Oracle has sequences which guarantee a unique number even with > concurrent access. Sybase has autoincrement columns. Use of the database as a UID dispenser has its merits with respect to the concurrency issue

[JBoss-user] transaction strategy of jboss

2001-04-04 Thread Roberto Leong
Hi I´d like to know how the locking mechanism works for stateful session beans in jboss, to be more precise imagine I have session bean like this: TestSB { EntityBean bean; create(EntityBean bean){ this.bean = bean; } doSomeStuff(){

Re: [JBoss-user] Java Pet Store / JNDI names

2001-04-04 Thread Nathan Coast
Hi, OK, I've done as suggested in the Pet store example doc http://www.jboss.org/manual/examples.html#petstore6 which is to provide alternative lookups to try: eg: public static final String SCC_EJBHOME = "java:comp/env/ejb/scc"; public static final String SCC_EJBHOME_2 = "TheShopping

[JBoss-user] Are there DTDs available for the various EJB/JBOSS config files?

2001-04-04 Thread David M. Karr
The subject says it all. I mostly only want these so the XML/SGML editor in XEmacs can be a little smarter about the config files I'm editing. (I would have searched the jboss-user archives, but the search facility appears to be broken at this time.) --

[JBoss-user] JBoss-Jetty-2.1 Error

2001-04-04 Thread R . Price
Julian & others - I tried putting in the necessary .jar files that Jetty was barking at not having classes for, but I'm still seeing the error about no org.apache.xalan.processor.TransformerFactoryImpl.class I can see it in the xalan.jar file I've stuffed into the /lib/ext directory, so I know

RE: [JBoss-user] Scrollable Result Sets

2001-04-04 Thread Shahar Solomianik
org.opentools.minerva.jdbc.xa.wrapper.XAClientConnection ... public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException { return prepareStatement(sql); } ... this is the offensive method. you can start investigate there

Re: [JBoss-user] Scrollable Result Sets

2001-04-04 Thread Doug Ferguson
Do you know how to register Oracle XA driver? d. Shahar Solomianik wrote: > If you use newest version of minerva - this is your problem. > minerva igonres 2nd and 3rd params of Connection.prepareStatement. > your options : > 1. use a real XA driver > 2. wait till Aaron fixes it > 3. modify mine

Re: [JBoss-user] Scrollable Result Sets

2001-04-04 Thread Doug Ferguson
What class would I need to modify? d. Shahar Solomianik wrote: > If you use newest version of minerva - this is your problem. > minerva igonres 2nd and 3rd params of Connection.prepareStatement. > your options : > 1. use a real XA driver > 2. wait till Aaron fixes it > 3. modify minerva code to

[JBoss-user] RE: [JBoss-dev] Transaction timeout

2001-04-04 Thread Bordet, Simone
Hey, look in jboss.jcml and almost at the top there is the transaction mbean. You will find there the transaction timeout value, that overrides the one in the code. Simon > -Original Message- > From: sujith s.pillai. [mailto:[EMAIL PROTECTED]] > Sent: mercoledì 4 aprile 2001 21:48 > To:

RE: [JBoss-user] Can I find a Deployment tool?

2001-04-04 Thread Wei Jiang
Super (from http://www.acelet.com) used to be able programmtically deploy for jBoss 2.0. But, jBoss keeps changing. The underlying deploy facilities of jBoss 2.1 gives error: javax.management.InstanceNotFoundException: EJB:service=ContainerFactory Any one knows why? I think jBoss should give

Re: [JBoss-user] RV: Should I consider Jboss for a new project ?

2001-04-04 Thread Vladimir Blagojevic
CC-ing jboss-user for archives. Kunle would you please verify doco for inet mssql driver with the context from the discussion below. vladimir Claudio Pi wrote: > Ok, now it worked, it seems to me that it was the URL as you said before > > Thanks a lot, > > Claudio. > > -Mensaje original

Re: [JBoss-user] war files

2001-04-04 Thread Ian Butcher
Yes you can deploy war files in jboss just put them in the deploy directory. - Original Message - From: "toby cabot" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 4:04 PM Subject: Re: [JBoss-user] war files > > Is it possible to depl

[JBoss-user] JNDI Naming for references

2001-04-04 Thread Mike Finn
Beginner question I have a stateful bean S (jndi name "gb/dbSession") referencing a cmp entity bean E (jndi name "gb/sequence") I am trying to decouple the deployed name for E from S's code by using an alias "xxx/yyy" in the deployment descriptor, but can't seem to make it work. here is th

Re: [JBoss-user] ejbStore and finder method

2001-04-04 Thread James Cook
Oh. Right. I guess that we wouldn't, although I never read that. I am under the same assumption that you are. The current transaction usually creates a snapshot of the database and does its work there. So I assume that queries in the same transaction should see the results no matter what the isola

RE: [JBoss-user] Scrollable Result Sets

2001-04-04 Thread Shahar Solomianik
If you use newest version of minerva - this is your problem. minerva igonres 2nd and 3rd params of Connection.prepareStatement. your options : 1. use a real XA driver 2. wait till Aaron fixes it 3. modify minerva code to your needs Shahar. btw, it doesnt ignore these parameters for prepareCall s

Re: [JBoss-user] war files

2001-04-04 Thread toby cabot
> Is it possible to deploy war files with Jboss? Are there special > deployment descriptors necessary? Do one have to package them in > ear files or is it possible to deploy them as raw war files? Where > would they go? And where would you define the context? Christian, Not a complete answer, bu

Re: [JBoss-user] JASS: Illegal access BUG?

2001-04-04 Thread Scott M Stark
They receive an SecurityException("illegal access...") failure. - Original Message - From: "marc fleury" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 12:42 PM Subject: RE: [JBoss-user] JASS: Illegal access BUG? > |The contributed version is inconsistent w

[JBoss-user] Scrollable Result Sets

2001-04-04 Thread Doug Ferguson
Hi, I am having trouble using scrollable resultSets when I obtain a DataSource from jBoss via JNDI. Whenever I use createStatment/prepareStatment it always returns a ResultSet that is Type_Scroll_Forward_Only. Can anybody tell me how I will obtain a ResultSet that is scrollable? d. __

Re: [JBoss-user] Secure Sockets

2001-04-04 Thread Scott M Stark
There is no bundled SSL socket factory but you can do this using custom socket factories. See the custom socket factory howto in the new manual. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 11:00 AM Subject: [JBoss-user] Secure So

Re: [JBoss-user] Where can I find the SecurityAssociation class? It's not in jbosssx.jar

2001-04-04 Thread Scott M Stark
jbosssx-client.jar - Original Message - From: "Axel Kratel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 12:16 PM Subject: [JBoss-user] Where can I find the SecurityAssociation class? It's not in jbosssx.jar > Hi, > > I am trying to run the "Interest" b

[JBoss-user] JBoss startup exception

2001-04-04 Thread Nathan Coast
Hi, I get the exception below when starting JBoss. The server seems to run fine after then. Should I just forget about it and pretend its not there - see no evil? Running jboss-2.1, jre 1.3 on NT4. Cheers Nathan F:\jboss-2.1\bin>run CLASSPATH=.;D:\mysql\lib\mm.mysql-2.0.2-bin.jar;run.jar

Re: [JBoss-user] JMS Queue - HELP

2001-04-04 Thread Peter Antman
Queues are allways bound to naming context queue. To lookup your queue, use queue/MyQueue //Peter On Wed, 4 Apr 2001, Taylor, Richard wrote: > > (JBoss 1.2, JDK1.3) > > I have created a queue called MyQueue using the interface on port 8082. > The debug when starting JBoss indicates: > > [JBo

[JBoss-user] EJX Startup exception

2001-04-04 Thread Nathan Coast
Hi, I get a null pointer exception when running ejx - see below. The window opens but is empty and whenever I attempt to open a file using the file open I get the message "cannot load file null". Running jbos-2.1, jre1.3 on NT4. Amy ideas? Thanks Nathan F:\jboss-2.1\bin>java -jar ejx.jar

RE: [JBoss-user] JASS: Illegal access BUG?

2001-04-04 Thread marc fleury
|The contributed version is inconsistent with the EJB spec as was |the previous |version of JBoss. All method must have an assigned security role according |to the EJB spec. what happens if people don't specify a role? amrc ___ JBoss-user mailing l

Re: [JBoss-user] what is the solution to deploy weblogic security module to JBoss?

2001-04-04 Thread Scott M Stark
There is nothing you can do but write a new integration layer. There is no standard for how security integrates into an app server so everyone has proprietary classes. Take a look at the JAAS howto and the JBossSX chapter in the new manual. - Original Message - From: suyan zhu To: [EMAIL

Re: [JBoss-user] jsp-file not recognized for jboss_jetty?

2001-04-04 Thread Julian Gosnell
I'm forwarding this to the Jetty discussion list for you. You are far more likely to get Jetty related answers there. Incidently, Jetty and Tomcat both use Jasper for their JSP engine, so expect the same behavior under Tomcat. Jules Gerald Gutierrez wrote: > Hi all. > > We are currently using

Re: [JBoss-user] ejbStore and finder method

2001-04-04 Thread Dan Christopherson
On Wed, 4 Apr 2001, James Cook wrote: > - Original Message - > From: "Dan Christopherson" <[EMAIL PROTECTED]> > > > > If the database isolation level is set to read-uncommitted, then the finder > > > should be able to read the row that was inserted in the create(). > > > That's even fro

Re: [JBoss-user] JASS: Illegal access BUG?

2001-04-04 Thread Scott M Stark
The contributed version is inconsistent with the EJB spec as was the previous version of JBoss. All method must have an assigned security role according to the EJB spec. The change your seeing was added a while ago to 2.1. - Original Message - From: "Darius Davidavicius" <[EMAIL PROTECTE

[JBoss-user] Where can I find the SecurityAssociation class? It's not in jbosssx.jar

2001-04-04 Thread Axel Kratel
Hi, I am trying to run the "Interest" bean example. Compiling was no problem, the EJB hot deployed just fine. But when I try to run the command line client, I get the following error: Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/security/SecurityAssociation a

Re: [JBoss-user] Transaction timeout

2001-04-04 Thread James Cook
You could modify the source to read the timeout from an appropriate property and post the change. Even better, you may want to simply store the first name in the Stateful session bean without starting a transaction. When you get all the additional information, start and commit the transaction in

[JBoss-user] Isolation levels in EJB

2001-04-04 Thread Kevin Meldorf (NBK)
How are Transaction Isolation Levels handled in jboss? Is it possible to set them (TRANSACTION_READ_COMMITTED, TRANSACTION_REPEATABLE_READ, etc.) in a deployment descriptor? I can't seem to find information on this anywhere and any help would be greatly appreciated. Thanks in advance, Kevin Kev

[JBoss-user] Transaction timeout

2001-04-04 Thread sujith s.pillai.
Hi, I am running JBoss 2.1 alongwith Jetty 3.0.2 / JDK 1.3. We have a stateful session bean running with bean managed transaction. It has got the transaction boundaries set as follows: getFirstName() is where the transaction is initiated by UserTransaction.begin(). In getNextName(), the transacti

Re: [JBoss-user] ejbStore and finder method

2001-04-04 Thread James Cook
- Original Message - From: "Dan Christopherson" <[EMAIL PROTECTED]> > > If the database isolation level is set to read-uncommitted, then the finder > > should be able to read the row that was inserted in the create(). > That's even from a different transaction, though, isn't it? I believ

Re: [JBoss-user] Load exception

2001-04-04 Thread Åsmund Hjulstad
I have experienced the same problem, and noted this: I had an entity bean with a boolean (primitive) member variable. If I added data to the database using psql without setting the boolean field, jaws failed with the same error message you got. I solved it by making sure I entered a value (no

Re: [JBoss-user] Question on 2.1 status

2001-04-04 Thread Dan Christopherson
2.1 (which was a development series) is about to be released as 2.2 (production series) In the future, JBoss is adopting a version numbering scheme similiar to Linux's: an odd minor number indicates a development series, and even will indicate production. On Wed, 4 Apr 2001, P H wrote: > Hello

[JBoss-user] Deploying application at root of URL namespace

2001-04-04 Thread Gerald Gutierrez
As a followup to my previous problem, I've got JBoss/Tomcat working with the JSP files now, but Jetty still does't work. The website I'm deploying should exist at the root of the URL namespace (http://www.abc.com/). However, whether I deploy the application with a of "" (empty string) or "/", n

Re: [JBoss-user] Load exception

2001-04-04 Thread Dan Christopherson
That's often caused by having a NULL in a database column that's mapped to a primitive type (int, long). Either make the field NOT NULL in the database or change the type of the ejb field to a wrapper class (Integer, Long) On Wed, 4 Apr 2001, fractals wrote: > Hi, > > I dunno understand this

Re: [JBoss-user] ejbStore and finder method

2001-04-04 Thread Dan Christopherson
On Wed, 4 Apr 2001, James Cook wrote: > If the database isolation level is set to read-uncommitted, then the finder > should be able to read the row that was inserted in the create(). That's even from a different transaction, though, isn't it? I believe (I'm not the person with the original probl

[JBoss-user] Secure Sockets

2001-04-04 Thread michaell
I'm just starting to get acquainted with EJBs and jboss. I know that ejb is built on top of RMI and that you can create custom socket factories for RMI so that you can use SSL. Does jboss support secure sockets for bean connections? If so, how do I enable them? Thanks, Michael Lee

[JBoss-user] jsp-file not recognized for jboss_jetty?

2001-04-04 Thread Gerald Gutierrez
Hi all. We are currently using Orion, but with its large number of bugs, I'm evaluating jboss/jetty/tomcat as an alternative J2EE platform. To start, I tried to deploy our website EAR file, which has GIF, HTML and JSP files. The JSP files are described in the descriptors as follows:

[JBoss-user] Question on 2.1 status

2001-04-04 Thread P H
Hello all, I know this was probably asked several times before so forgive me if I repeat the question. I've been looking around the jBoss site, and looked at the mail archives, but I couldn't find any indication of the status of version 2.1. It appears that whenever there are new patches to 2.1,

[JBoss-user] Un Subscribe

2001-04-04 Thread Puthezhath, Rajeev (TWII Boston)
Please Un Subsribe me Regards Rajeev ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] what is the solution to deploy weblogic security module to JBoss?

2001-04-04 Thread suyan zhu
When an application in weblogic is redeployed to JBoss, there is a big problem for security module which is written with weblogic security stuff. What is the better solution for the redeployment? Thanks a lot, Suyan,Do You Yahoo!? Yahoo! Mail Personal Address - Get email at your own domain with Ya

RE: [JBoss-user] Can I find a Deployment tool?

2001-04-04 Thread Rajeev Bacchu
Thank you Lennart, Let me try that out, what ever makes life easy for my team is welcome. regards, -RawLife. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 04, 2001 4:43 PM To: [EMAIL PROTECTED] Subject: SV: [JB

[JBoss-user] Apache + Tomcat + JBoss

2001-04-04 Thread Rajeev Bacchu
Hi, I have an Apache web server running, with Tomcat hooked to it, I have Installed Jboss on my machine, running fine, Can anyone tell me how can I tie Tomcat to Jboss? Do I require embedded tomcat? (what some docs were talking about) or can I tinker with Jboss & Tomcat to get Apache,Tom

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Alexander Jerusalem
Yes that works perfectly well. At 18:09 04.04.01, you wrote: >Can you successfully look up the EJBs in your doGet method? > >On Wed, 4 Apr 2001, Shahar Solomianik wrote: > > > do you create InitialContext in the servlet init method ? > > > > -Original Message- > > From: [EMAIL PROTECTED]

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Shahar Solomianik
If you cant find the standard way for startup actions, and you still want to use load-on-startup servlet, maybe try to forward the EmbeddedTomcat entry in jboss.jcml , since : ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Tahir Awan
I did the same thing in WL5.1 and it worked super. Tahir > -Original Message- > From: Alexander Jerusalem [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 04, 2001 12:36 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] load-on-startup Servlet can't find EJB > > > I can't put i

[JBoss-user] RV: Should I consider Jboss for a new project ?

2001-04-04 Thread Claudio Pi
Hi ! I am trying to use Jboss 2.1 for a new project I have at work using J2EE. Everything was wonderful, indeed I was impressed with the hot deploy technology that I didn't found in other servers. The problem came when I tried to get a connection pooling to MS SQL Server 7.0. I followed exact

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Shahar Solomianik
running "startup scripts" as load-on-startup servlet init method sounds very tricky ... Isnt there a common way to do it ? a special MBean or something ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Jerusalem Sent: Wednesday, April 04, 2001 6

[JBoss-user] The purpose of the ECPerf project ?

2001-04-04 Thread joel cordonnier
What's the purpose of the ECPerf project ? Thanks Joel ___ Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Messenger : http://fr.messenger.yahoo.com ___ JBoss-user mailing list

Re: [JBoss-user] Should I consider Jboss for a new project ?

2001-04-04 Thread Dewayne McNair
> I tried using i-net Opti JDBC as described in the documentation. What version of their driver are you using? You need "2.05 Fix", not just "2.05". Contact i-net for an upgrade. If you have "2.05 Fix", double check your config based on the docs on the JBoss site as well as on the i-net site -

[JBoss-user] Should I consider Jboss for a new project ?

2001-04-04 Thread Claudio Pi
Hi ! I am trying to use Jboss 2.1 for a new project I have at work using J2EE. Everything was wonderful, indeed I was impressed with the hot deploy technology that I didn't found in other servers. The problem came when I tried to get a connection pooling to MS SQL Server 7.0. I followed exact

[JBoss-user] Load exception

2001-04-04 Thread fractals
Hi, I dunno understand this error (must be VERY common, I know): TRANSACTION ROLLBACK EXCEPTION: Load failed; nested exception is: java.lang.NullPointerException; nested exception is: java.rmi.ServerException: Load failed; nested exception is: java.lang.NullPointerException jaava.rm

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Alexander Jerusalem
I can't put it in the service method because I want that code to run automatically every time JBoss starts up. thanks, Alexander Jerusalem At 18:23 04.04.01, you wrote: >so why dont keep it in the service ? >Im not sure it's safe to keep an InitialContext object "alive" , can anyone >comment on

Re: [JBoss-user] ejbStore and finder method

2001-04-04 Thread James Cook
If the database isolation level is set to read-uncommitted, then the finder should be able to read the row that was inserted in the create(). jim - Original Message - From: "Dan Christopherson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 11:31 AM Subject:

RE: [JBoss-user] JMS Queue - HELP

2001-04-04 Thread Shahar Solomianik
concat "queue/" before your queue name . i.e. "queue/MyQueue" -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Taylor, Richard Sent: Wednesday, April 04, 2001 5:58 PM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] JMS Queue - HELP (JBoss 1.2, JDK1.3) I

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Dan Christopherson
Can you successfully look up the EJBs in your doGet method? On Wed, 4 Apr 2001, Shahar Solomianik wrote: > do you create InitialContext in the servlet init method ? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander > Jerusalem > Sent: We

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Shahar Solomianik
so why dont keep it in the service ? Im not sure it's safe to keep an InitialContext object "alive" , can anyone comment on this ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Jerusalem Sent: Wednesday, April 04, 2001 5:58 PM To: [EMAIL PROTE

Re: [JBoss-user] JMS Queue - HELP

2001-04-04 Thread Jorge Uriarte Aretxaga
I think you should prefix "queue/" to the queue name. try > Queue queue = (Queue) jndiContext.lookup("queue/" + queueName); Anyway... I don't really understand the truth about jndi prefixes... Somebody throw some light on it? _ Jorge - Original Message - From: "Taylor, Richard" <[E

[JBoss-user] JMS Queue - HELP

2001-04-04 Thread Taylor, Richard
(JBoss 1.2, JDK1.3) I have created a queue called MyQueue using the interface on port 8082. The debug when starting JBoss indicates: [JBossMQ] new queue : MyQueue and there is a file in the db folder called [EMAIL PROTECTED] However when I execute the following code: System.setProperty("jav

Re: [JBoss-user] ECPerf project

2001-04-04 Thread Dan Christopherson
On Thu, 5 Apr 2001, Peter Routtier-Wone wrote: > > If the desire is to provide an easy setup for testing, I would suggest > that you > > focus on InstantDB or HSQL since these already ship bundled with jBoss. > Are > > these databases complete enough to support ECPerf? If not, then Cloudscape > i

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Alexander Jerusalem
Yes and my codes works when I put it in the service method and call the Servlet via a browser. Only if the same code is in init does the JNDI lookup fail. Alexander Jerusalem At 17:38 04.04.01, you wrote: >do you create InitialContext in the servlet init method ? > >-Original Message-

Re: [JBoss-user] ECperf project

2001-04-04 Thread Dan Christopherson
On Wed, 4 Apr 2001, Tom Coleman wrote: > > Thanks to those of you who have expressed interest in working on ECperf > for JBoss. > > I've got a working Cloudscape DB build for ECperf that I'll zip up and put > on the Web site. > > Oracle and Sybase are much more complex than Cloudscape, so I t

[JBoss-user] JBossMQ connection pooling

2001-04-04 Thread Shahar Solomianik
Hi. I need to publish topic messages in some cases in my stateless sessions methods. As for now, I createTopicConnection each time I need to do so, create session , publisher , and publish the message. then I close the connection. I guess there's a more efficient way to do it. Can anyone suggest

Re: [JBoss-user] ECperf project

2001-04-04 Thread Tom Coleman
> > Probably the most important database servers from a promotional point of > view would be DB2/400, Oracle 8i, Sybase and M$ SQL Server. > Agreed. The choice of DB, and it's configuration, will dramatically impact ECperf results. Here are the priorities the way I see them: 1) Get EC

RE: [JBoss-user] JDBC for JDK1.3 for Oracle 8i 8.1.7

2001-04-04 Thread Shahar Solomianik
I compile 8.1.7 with jdk1.3 successfuly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chong Joon lee Sent: Wednesday, April 04, 2001 5:25 PM To: [EMAIL PROTECTED] Cc: Robert Butcher Subject: [JBoss-user] JDBC for JDK1.3 for Oracle 8i 8.1.7 Hi, I hav

RE: [JBoss-user] ejbStore and finder method

2001-04-04 Thread Dan Christopherson
I'm not so sure it's that simple, Marc. WRT to CMP created bean especially, the 1.1 spec indicates that the bean's state should be pushed into the database as part of the 'create' call. Shouldn't custom finders then find it? Assuming that the database allows a transaction to see what it has alread

RE: [JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Shahar Solomianik
do you create InitialContext in the servlet init method ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Jerusalem Sent: Wednesday, April 04, 2001 4:11 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] load-on-startup Servlet can't find EJB Hi,

[JBoss-user] JDBC for JDK1.3 for Oracle 8i 8.1.7

2001-04-04 Thread Chong Joon lee
Hi, I have recently got involved using the J2EE for constructing a suitable back-end. I am using an Oracle 8i (8.1.7) and a JDK1.3 and I cannot seem to find a suitable JDBC driver that complies with these specifications. Do you know where I could possibly get hold of such a drive? On your docume

Re: [JBoss-user] ECPerf project

2001-04-04 Thread Peter Routtier-Wone
> If the desire is to provide an easy setup for testing, I would suggest that you > focus on InstantDB or HSQL since these already ship bundled with jBoss. Are > these databases complete enough to support ECPerf? If not, then Cloudscape is a > decent choice because of the free developer license.

Re: [JBoss-user] ECPerf project

2001-04-04 Thread Edward Yavno
I'd like to participate in ECPerf effort. I'm new to both Jboss and EJB, but do have quite a bit of RMI/Servlets/JSP experience. I hope I can be of some use. Thanks, - Ed Y. --- Tom Coleman <[EMAIL PROTECTED]> wrote: > > We're looking for help on the JBoss ECPerf project. > > ECPerf is importa

RE: [JBoss-user] ECperf project

2001-04-04 Thread marc fleury
TomC, do keep [EMAIL PROTECTED] in the loop, maybe he can be of some help (you never know) thanks marc |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Tom Coleman |Sent: Wednesday, April 04, 2001 10:45 AM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss

Re: [JBoss-user] ECperf project

2001-04-04 Thread Tom Coleman
Thanks to those of you who have expressed interest in working on ECperf for JBoss. I've got a working Cloudscape DB build for ECperf that I'll zip up and put on the Web site. Oracle and Sybase are much more complex than Cloudscape, so I think Cloudscape is the place to start. Has anyone mana

Re: [JBoss-user] JBoss and Petstore deployment problem

2001-04-04 Thread Dewayne McNair
The first thing to do is remove j2ee.jar from your classpath. Report back if you still have problems after that. > ents\util\tracer\build\classes;D:\java\j2sdkee1.3 > \lib\j2ee.jar;..\..\..\..\..\servers\jboss-tomcat-2.1-beta\jboss-2.1\bi > n\run.jar;..\..\..\..\..\servers\jboss-tomcat-2.1-beta\

RE: [JBoss-user] ejbStore and finder method

2001-04-04 Thread marc fleury
|Or is it simply not part of the spec? by definition, no commit -> no commit marc ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] Few doubts regarding container code??

2001-04-04 Thread marc fleury
|1) In weblogic developer has to provide a standard jar(which contains |your bean code) to ejbc compiler, which generates another jar |file(deployable, this jar contains all the code generated by container). | | how this is done in JBoss??? | where does container code resides and when it is bein

RE: [JBoss-user] Printable Docs

2001-04-04 Thread marc fleury
again we do not provide the printable version for the casual passer by I you are savvy enough you can always go to the cvs and build the documentation if not you can support our effort by paying a minimal fee for the downloadable version (targeted at $10). Vlada knows. Regards marc |-Or

Re: [JBoss-user] ejbStore and finder method

2001-04-04 Thread Emmanuel Sciara
Marc, I have a similar problem with ejbCreate on a CMP entity bean: I create a bean and try to find it later in the same transaction but cannot find anything since the transaction is not finished and the entity bean has not bean stored in the database. I use the default setting on JBoss 2.1 with

[JBoss-user] load-on-startup Servlet can't find EJB

2001-04-04 Thread Alexander Jerusalem
Hi, Has anyone heard of problems with Servlets tagged as load-on-startup not being able to lookup EJBs in their init method? Is it possible that EJBs are bound to the JNDI context only after such Servlets are already loaded? If this is the case what else can I do to initialize application stat

  1   2   >