Re: [JBoss-user] Distributed MDB & JMS resouces inside of beans

2001-06-21 Thread Peter Antman
Hi Jason, how nice that finally someone is really using the JMS ra and in a distributed fashion. I have to admit that it has not been tested in such a setup yet. I will try to comment your mail, but first: there are two things that I know have caused problem of the type you describe: 1. If you g

RE: [JBoss-user] [Ann] Official JBoss book to be published by SAM S

2001-06-21 Thread Michael Angelo Libio
When is the expected release date of this book? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Matthew Setter Sent: Wednesday, June 20, 2001 11:36 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] [Ann] Official JBoss book to be published by SAM S G

[JBoss-user] jboss.jcml, MySQL

2001-06-21 Thread Jonathan Gibbons
Hi, Yes! Take a look at the jboss on-line documentation for how to do it. Also download the LowRoad (http://www.faraway.co.uk/tallsoft/lowroad/) and read the jboss_mysql_guide.txt. Jonathan >Anyone successfully load and use mm.mysql.jdbc or other MySQL driver from >an entry in jboss.jcml.

[JBoss-user] GUID service?

2001-06-21 Thread Unico Hommes
Hello all, Does jboss provide a service that generates GUIDs? If not, can somebody point out a good resource for getting this sort of functionality ? Thanx U. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jb

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Nicolai P Guba
> "JA" == Jim Archer <[EMAIL PROTECTED]> writes: JA> We have seen this behavior as well. If we have an error in the JA> matching of our bean interface and our remote interface (a JA> different parameter list or exception list, for example) and my JA> client calls into the app (I think and cal

RE: [JBoss-user] no concurrency calls

2001-06-21 Thread Saint-Martin Cecile
(Cecile is my first name and SAINT-MARTIN my last name) I don't understand what you want to do. What's your goal? SAINT-MARTIN Cecile [EMAIL PROTECTED] > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de > Boris Garbuzov > Envoye : mercredi 20 juin 2

[JBoss-user] RE: Proper shutdown under Linux

2001-06-21 Thread Magnus Grimsell
There is a shutdown class using the HTMLAdaptor in the cvs of jboss. I use this class in a shutdown script and it works fine. You can find the class under jboss/jboss/src/main/org/jboss/ShutDown.java ** Magnus Grimsell [EMAIL PROTECTED] 013-37 35 24 ___

RE: [JBoss-user] GUID service?

2001-06-21 Thread Saint-Martin Cecile
J-GUID at http://www.activescript.co.uk/ EJBUtils at http://sourceforge.net/projects/ejbutils/ SAINT-MARTIN Cecile [EMAIL PROTECTED] > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Unico > Hommes > Envoyé : jeudi 21 juin 2001 09:27 > À : '[EMAIL

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread RRokytskyy
Hi! > > My entity bean member variable is Vector type. I'm adding > elements to the > > vector and storing in the database. I can load vector and > its element from > > the database. But when I restart Application server I can > load only empty > > vector of size 0. All data get lost. > > > >

RE: [JBoss-user] GUID service?

2001-06-21 Thread Torsten Terp
Hi, Some time ago, someone offered his UUID implementation as an addon to jBoss, but i think it stopped with a debate of the usefullnes of such a thing?!? Anyways... the implementation was started on theserverside: (good discussion on the subject) http://www2.theserverside.com/patterns/thread.js

[JBoss-user] Cutting down the default configuration

2001-06-21 Thread Steve Slatcher
Hi Guys Well, OK, actually I'm wanting to cut down the "with tomcat" configuration, with a view to keeping things tidy, and possibly reducing the JBoss footprint. I am now using JBoss 2.2.2. Any ideas are welcome. I am actually using Sybase, so my first stab was to remove references to Hyperso

RE: [JBoss-user] Is it possible to have something "cached" in EJB without storing it in the DB?

2001-06-21 Thread RRokytskyy
Hi! > As far as I understand, there's no way to cache states across sessions > in EJB, right? Then how can I accomplish this: > We have some chained Java objects to be converted into EJBs, and these > objects perform quite costly operations. But the data these operations > return should only be

SV: [JBoss-user] Dynamic classloading

2001-06-21 Thread Lennart Petersson
ok, got your point. Yes, thank you - it would be nice to also have the old functionality. /Lennart - Original Message - From: Scott M Stark <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 2:27 AM Subject: Re: [JBoss-user] Dynamic classloading > Yes. What you

Re: [JBoss-user] mysql

2001-06-21 Thread Nicolai P Guba
> "RB" == Richard Bottoms <[EMAIL PROTECTED]> writes: RB> At 06:52 PM 6/16/01 +0100, you wrote: >> The current version MySQL works fine with Jboss . RB> Any possibility of a .ear & source tutorial? MySQL data access is RB> the next thing I need to get working (followed by Mail). I was RB> ab

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Jim Archer
--On Thursday, June 21, 2001 8:24 AM +0100 Nicolai P Guba <[EMAIL PROTECTED]> wrote: > Yep. *sigh* Nasty. But does it really have to do this? Well, I would expect its just a bug. I agree its a serious one. > Yes. This happens when the file to be deployed does not pass the > verifier test

[JBoss-user] Configuring JBoss to authenticate against LDAP

2001-06-21 Thread Andrew
Hi, I am very new to JBoss and am looking at authenticating users against an LDAP server. Unfortunately I can't find a good example of how to configure JBoss to do this. Please see below for errors. Any help much appreciated. Regards Andrew [SecurityPolicyService] Starting [SecurityPolicySer

Re: [JBoss-user] jboss.jcml

2001-06-21 Thread Nicolai P Guba
> "RB" == Richard Bottoms <[EMAIL PROTECTED]> writes: RB> Anyone successfully load and use mm.mysql.jdbc or other MySQL RB> driver from an entry in jboss.jcml. Yep. Make sure the driver is in lib/ext and that you load it before you get to the pool. org.gjt.mm.mysql.Driver -- Nicola

Re: [JBoss-user] jboss-jetty problem - stack traces

2001-06-21 Thread Julian Gosnell
I had a look at this on the train this morning. Scott is right. In 2.2.2 any MBean registering is presumed to be a JBoss Service and JBoss takes over it's lifecycle, calling init(), start(), stop() and destroy() whenever it deems necessary. This is pretty disastrous for internal Jetty MBeans, wh

[JBoss-user] closing PreparedStatements

2001-06-21 Thread Nicolai P Guba
Hello JBoss hackers :) On closing a prepared statement when finished with my queries, I am getting an exception from the minerva pool. Am I correct in assuming that PreparedStatements are cached/pooled and should not be closed? == LOG -Selecting

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] Log4j & JBoss - HowTo? Robert, I have attached two versions of jboss.conf, one is the original version that does not use the log4j.properties file and the other is my version that uses the log4j.properties file (the shorter one of the two). You can then use the log4

[JBoss-user] More Out of Memory Errors!

2001-06-21 Thread Nicolai P Guba
Hello The problem is much more drastic than I initially thought. I just asked a question about closing PreparedStatements. Obviously, I had a few errors. I left the server running, recompiled the app, redeployed, forgot to remove one close on the stmt, then redeployed and now this is what I've

Re: [JBoss-user] CMP field type

2001-06-21 Thread Richard Kasperowski
Boris Garbuzov wrote: > Please tell me if I am any limited with persistent field types for CMP. Can I >specify any > complex class of mine, and container will do it for me? Now I do not care about >efficiency. I > think, container can do it by serializing my class or braking it down recursively

RE: [JBoss-user] Cannot connect to java:/SQLServerPool

2001-06-21 Thread Alan McDade
No, I need to write JSP's with, depending on the scope of the project, either direct JDBC connection or EJB's. However for testing the effect of classes on the database non-server client would have been less work. Never mind what will be will be! Thanx for the advice Alan -Original Message

FW: [JBoss-user] jBoss with JBuilder4

2001-06-21 Thread Stephen White (EHPT)
Title: FW: [JBoss-user] jBoss with JBuilder4 ** ** ** ** ** ** ** ** ** ** ** ** ** Stephen White - Designer Direct : 00 46 31 74 62191 Mobile : 0706 89 33 43 Epost : [EMAIL PROTECTED] EHPT Sweden AB, 405 34 Göteborg ** ** ** ** ** ** ** ** ** ** ** ** ** -Original Message- Fro

FW: Re: [JBoss-user] HELP! JBoss client problem

2001-06-21 Thread Stephen White (EHPT)
Title: FW: Re: [JBoss-user] HELP! JBoss client problem Hi Eric, I seem to get exactly the same problem as Steve Doyle. Iv added the following classes to my Jbuilder project :- "c:\JBossTomcat\jboss\client\jboss-client.jar;c:\JBossTomcat\jboss\client\jbosssx-client.jar;c:\JBossTomcat\jboss\clie

Re: [JBoss-user] jboss.jcml, MySQL

2001-06-21 Thread Roy Yip
Hi, This is the one I use to make mySQL work. Hope it's useful to you too. Don't forget to put mm.mysql-2.0.4-bin.jar in %JBOSS_HOME%\lib\ext. org.gjt.mm.mysql.Driver mySQL org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl jdbc:mysql://localhost/mysql

[JBoss-user] FW: JBuilder4 JBoss config probs

2001-06-21 Thread Stephen White (EHPT)
Title: FW: JBuilder4 JBoss config probs ** ** ** ** ** ** ** ** ** ** ** ** ** Stephen White - Designer Direct : 00 46 31 74 62191 Mobile : 0706 89 33 43 Epost : [EMAIL PROTECTED] EHPT Sweden AB, 405 34 Göteborg ** ** ** ** ** ** ** ** ** ** ** ** ** -Original Message- From:  

Re: [JBoss-user] Cutting down the default configuration

2001-06-21 Thread Roy Yip
Hi! Simply delete (or comment out!!!) the Hypersonic and InstantDB lines in your jboss.jcml and jboss-auto.jcml. Steve Slatcher wrote: > > Hi Guys > > Well, OK, actually I'm wanting to cut down the "with tomcat" configuration, > with a view to keeping things tidy, and possibly reducing the JBo

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Tim Yates
Hiya! Try: - Original Message - From: Nicolai P Guba <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 10:02 AM Subject: [JBoss-user] closing PreparedStatements > finally { > ExtendedJDBC.close( connection, prepStmt, result ); > } > } > finally { try

Re: [JBoss-user] More Out of Memory Errors!

2001-06-21 Thread Jim Archer
Were are battling this even as I type... It seem that if jBoss hits the operating systems pid (thread) limit for a process, it throws out of memory exceptions. We just ran some load test scripts and when we get too many threads, pop goes the weasil. I'm looking at two possibilities... Catch th

[JBoss-user] O'Reilly example with JBossMQ...

2001-06-21 Thread Roy Yip
Hi! I'm trying out the Chat example from O'Reilly's JMS text. I've configured the jbossmq.xml file to include :- ... beginner and myname mypassword and the source is :- ... Properties env = new Properties(); env.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingCon

Re: [JBoss-user] Cutting down the default configuration

2001-06-21 Thread Steve Slatcher
Thanks for that. I was neglecting to edit jboss-auto.jcml. Is there anything else that could be safely removed? I am currently using session beans only so I certainly don't any CMP stuff for example. From: "Roy Yip" <[EMAIL PROTECTED]> > Simply delete (or comment out!!!) the Hypersonic and Ins

Re: [JBoss-user] jboss-jetty problem - stack traces

2001-06-21 Thread Jim Archer
--On Thursday, June 21, 2001 9:47 AM +0100 Julian Gosnell <[EMAIL PROTECTED]> wrote: > I shall try to do a new JBoss-2.2.2-Jetty release this > evening, in which externalisation of internal Jetty > MBeans will be pulled, awaiting a JBoss release which > supports them - a shame, but I doubt it

Re: [JBoss-user] More Out of Memory Errors!

2001-06-21 Thread Michael Bilow
Maybe I can throw a little light on this. I don't know too much about what goes on inside jBoss or the JVM, but I can tell you what I see happening on a Linux system. When something is wrong with the deployable EAR, and I am not really sure exactly what, jBoss can get into a state where it just

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

2001-06-21 Thread Julian Gosnell
Matt (Tilchen), Since your problem looks very much as if it is ClassLoader related, and one of the side effects of this tussle over MBean management between Jetty and JBoss is the WebApplicationContexts are apparently being start()-ed twice, I am hoping that your problem will disappear when I fix

Re: Re: [JBoss-user] jetty vs tomcat

2001-06-21 Thread Sky Yin
many thanks! I think I will try Jetty and I am now look into the document distributed with Jetty. Anyway, I think you should put the following comparision onto the JBoss download page or FAQ. regards At 01-6-18 18:15:00, you wrote: >Firstly - I am the JBoss-Jetty maintainer and my mate >Greg i

Re: [JBoss-user] O'Reilly example with JBossMQ...

2001-06-21 Thread Peter Antman
On 21 Jun, Roy Yip wrote: > Hi! > > I'm trying out the Chat example from O'Reilly's JMS text. I've > configured the jbossmq.xml file to include :- > > ... > beginner > > and > > > myname > mypassword > > > and the source is :- > > ... > Properties env = new Properties(); > env.setPrope

Re: [JBoss-user] Cutting down the default configuration

2001-06-21 Thread Roy Yip
Steve, You can also cut out the JMS and the mail stuff :- ... ... ... Better just comment them out! You'll probably need them for the Message Driven Bean and JavaMail stuff later. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.source

Re: [JBoss-user] Distributed MDB & JMS resouces inside of beans

2001-06-21 Thread Peter Antman
Hi again Jason, I did actually have some time to make a test, and it works fine for me. (This will be integreated into the new manual chapter I will be writing during the summer). Here is al my setups, with the remote machine beeing linutv1.annons.dn.se (its NOT accessable) in jboss.jcml:

RE: [JBoss-user] entity bean deployment

2001-06-21 Thread Sumeeth Chinni
Hi I am done with the entity bean deployment with a little hack. The minor problem that I have now is the type-mapping of varbinary datatype in the database. I am listing down the database data types and the corresponding java types below. I am using Sybase as the database. --

Re: [JBoss-user] More Out of Memory Errors!

2001-06-21 Thread Nicolai P Guba
> "MB" == Michael Bilow <[EMAIL PROTECTED]> writes: MB> However, the system limitations applicable to heavyweight MB> processes apply equally to lightweight processes, in particular MB> that a single non-root user may never exceed half of the available MB> system pids. By default when buildi

Re: [JBoss-user] More Out of Memory Errors!

2001-06-21 Thread Nicolai P Guba
> "JA" == Jim Archer <[EMAIL PROTECTED]> writes: JA> Were are battling this even as I type... It seem that if jBoss JA> hits the operating systems pid (thread) limit for a process, it JA> throws out of memory exceptions. We just ran some load test JA> scripts and when we get too many threads

Re: [JBoss-user] Cutting down the default configuration

2001-06-21 Thread Nicolai P Guba
> "SS" == Steve Slatcher <[EMAIL PROTECTED]> writes: SS> Thanks for that. I was neglecting to edit jboss-auto.jcml. Is SS> there anything else that could be safely removed? I am currently SS> using session beans only so I certainly don't any CMP stuff for SS> example. This is a big gotcha

Re: [JBoss-user] O'Reilly example with JBossMQ...

2001-06-21 Thread Roy Yip
Thanks! It works well after "topic/beginner" is used. Peter Antman wrote: > > On 21 Jun, Roy Yip wrote: > > Hi! > > > > I'm trying out the Chat example from O'Reilly's JMS text. I've > > configured the jbossmq.xml file to include :- > > > > ... > > beginner > > > > and > > > > > > myname > >

RE: [JBoss-user] JAAS problem

2001-06-21 Thread Nick Taylor
Scott, Apologies for confusing you by mixing up my wars and ears (a long day had my brain at meltdown)...what I meant to say (of course ;)) was that I do not package my application (servlets and ejbs) as an ear. I package my beans as a jar which contains users.properties and roles.properties and

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Nicolai P Guba
> "TY" == Tim Yates <[EMAIL PROTECTED]> writes: TY> Hiya! Try: 'ellau! TY> - Original Message - From: Nicolai P Guba TY> <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: TY> Thursday, June 21, 2001 10:02 AM Subject: [JBoss-user] closing TY> PreparedStatements >> finally { Extend

Re: [JBoss-user] Cutting down the default configuration

2001-06-21 Thread Nicolai P Guba
> "RY" == Roy Yip <[EMAIL PROTECTED]> writes: RY> Better just comment them out! You'll probably need them for the RY> Message Driven Bean and JavaMail stuff later. I just created a new directory, ie conf/mystuff or something, copied the default stuff over, then ran jboss via its startup scri

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Tim Yates
Wotcha! > That's what I did. Sorry for not supplying the implementation for > that helper. 'ere it is. > > public static void close( Connection c, PreparedStatement s, ResultSet r ) > { > try { > if( c != null ){ > c.close(); > } > if( s != null ){ > s.close(); > } >

[JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread Hoong-Shen Wong
Hi, I am trying out to make a Stateless Session Bean with Container managed Transactions auto-commit at the end of a transaction, but it does not appear to do so. The following is the deployment descriptor we are using for the Bean. It writes to the database, but does not appear to commit the SQL

[JBoss-user] flase in standardjboss.xml

2001-06-21 Thread Gerry Duhig
What does this line do or mean? Is there a DTD for standardjboss.xml? Regards Gerry ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] Message Driven Beans

2001-06-21 Thread Ship, Howard
I'm just starting to experiment with message driven beans in jBoss. I'm having a problem though. One of my business processes uses a queue to send a message to MDB. The session bean coordinates a database update, the MDB sends e-mail about it and I wanted them decoupled. Excerpts from ejb-jar.

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Nicolai P Guba
> "TY" == Tim Yates <[EMAIL PROTECTED]> writes: TY> Wotcha! Arrrgha! >> That's what I did. Sorry for not supplying the implementation for >> that helper. 'ere it is. >> >> public static void close( Connection c, PreparedStatement s, >> ResultSet TY> r ) >> { try { if( c != null ){ c.clos

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Nicolai P Guba
> "JA" == Jim Archer <[EMAIL PROTECTED]> writes: JA> Well, maybe now that you and I have verified it and know how to JA> reproduce it someone will fix it. JA> Danch, do you want me to write this up on SourceForge bug list, or JA> is this a known issue? Hmmm, on deploying a valid jar I also

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread danch
Tim Yates wrote: > Wotcha! > > >> That's what I did. Sorry for not supplying the implementation for >> that helper. 'ere it is. >> >> public static void close( Connection c, PreparedStatement s, ResultSet > > r ) > >> { >> try { >> if( c != null ){ >> c.close(); >> } >>

Re: [JBoss-user] Cannot connect to java:/SQLServerPool

2001-06-21 Thread danch
Something I've done on a project is write a class that handles some of the things that change from one environment to another. This class actually delegates to another object whose classname can be configured via property file. The upshot is that my code asks this thing for a connection to 'SQ

RE: [JBoss-user] Help! Petstore build problems!

2001-06-21 Thread Simon Moses
Have you set up your JBoss and J2EE environment variables??? Simon Moses, 65 Hillview Pde, Ashmore, QLD, 4214. PHONE: 07 55974088 MOBILE: 0419 171348 FAX:07 55974091 EMAIL: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of hn

[JBoss-user] RE: JBuilder4 JBoss config probs

2001-06-21 Thread John P. Coffey
Hi Stephen, > Does this refer to the Main class in the sun tab which I have already set to org.jboss.Main?? You are corrrect, the startup parameter is the argument passed to org.jboss.Main in the run tab of the project. Beware though things are never quite that simple, (see classpath modificatio

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread R . Price
Thanks Paul, Fred & Scott for your replies.  If turning on the log4j service in JBoss is going to give me is logging my stuff with JBoss' stuff, then I'll stick to what we've got.  Think we want to keep them separate anyways.   Robert Price

Re: [JBoss-user] flase in standardjboss.xml

2001-06-21 Thread Gerry Duhig
Whoops - obviously title should read false! But what does it mean? Gerry - Original Message - From: "Gerry Duhig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 2:16 PM Subject: [JBoss-user] flase in standardjboss.xml > What does this line do or mean? > >

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Allen fogleson
also I have always closed things in reverse order.. resultset, preparedstatement, connection. it may or may not matter depending on the drivers i guess, but better safe than sorry. amazingly ihave seen problems with oracle and closing connections before resultsets and prepared statements. at l

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] Log4j & JBoss - HowTo? Robert, With log4j you can separate your log messages to a separate file. I have the following entry in my log4j.properties file which logs my stuff to a new file. ### The nhigh appender log4j.appender.Nhigh=org.apache.log4j.FileAppender lo

[JBoss-user] Caching together...

2001-06-21 Thread Antoine . ISIDOR
Ok, shut me if I tell stupid things.. After reading some mails on the "Cache" subject, i've understood that several clients can access to an instance of a stateless session bean or entity bean, but only one client can access to a stateful session bean instance. Then I've understood that you can'

[JBoss-user] RE: Message Driven Beans

2001-06-21 Thread Ship, Howard
François Charoy pointed me in the right direction. When I switched from using an ObjectMessage to using a MapMessage, things started working. Yea! I suspect it was some kind of silent class loader problem. The class I was serializing was defined by my EJB jar ... I suspect that the container

[JBoss-user] Possible bug in jboss

2001-06-21 Thread Kevin Meldorf (NBK)
I have been working with Volker Berlin at inetsoftware to get the opta2000 XDataSource to work with jboss 2.2. Whenever, I tried to use the inet's XDataSource vs. minerva's XADataSource I would get the following error: [UserEntityBean] XAException: tx=XidImpl [FormatId=257, GlobalId=KMELDORM//1,

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Nicolai P Guba
> "d" == danch <[EMAIL PROTECTED]> writes: d> Tim Yates wrote: >> Wotcha! >> >>> That's what I did. Sorry for not supplying the implementation for >>> that helper. 'ere it is. public static void close( Connection c, >>> PreparedStatement s, ResultSet >> r ) >> >>> { try { if( c != nu

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Tim Yates
Hooray!! And I was worried that I was just being hopelessly paranoid ;-) Thanks for that :-) (I too use Oracle) Tim. - Original Message - From: Allen fogleson <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 3:44 PM Subject: Re: [JBoss-user] closing PreparedSta

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread danch (Dan Christopherson)
Jim Archer wrote: > > > Well, maybe now that you and I have verified it and know how to > reproduce it someone will fix it. > > Danch, do you want me to write this up on SourceForge bug list, or is > this a known issue? > Please put it out there as a bug. -danch _

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Igor Rabinovich
I did not define any new sql type for vector. Vector is java.lang.Object. I don't have any problems with vector but with array which vector class contains. I can read the Vector object from the database, but the vector size is 0 and data array of vector is empty. I try not to use any sql statemen

Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread danch (Dan Christopherson)
How does your bean get its database connection? Your descriptor doesn't have a resource reference in it. Hoong-Shen Wong wrote: > Hi, > > I am trying out to make a Stateless Session Bean with Container managed > Transactions auto-commit > at the end of a transaction, but it does not appear to

[JBoss-user] Logging in J2EE/EJB world

2001-06-21 Thread Wei Jiang
** Logging in J2EE/EJB world * Overview The needs and scenarios in a distributed computing environment are very different from desktop computing. Server programs must be available 24 x 7 and you can not assume your server is monitored by human all the time. So, server progra

Re: [JBoss-user] quick tutorial

2001-06-21 Thread danch (Dan Christopherson)
adam wrote: > We actually found the same problem in our company's application. Is > this something that should be changed in Jasper? > It's actually rather more complicated than that. The problem is that to get servlets and JSPs to work at runtime, JBoss hooks together a set of ClassLoaders

Re: [JBoss-user] Message Driven Beans

2001-06-21 Thread Thomas Hagedorn
Hi Howard, seems that you forgot something like MailQueue MailQueue Standard Message Driven Bean in the jboss.xml. This is the place to bind the MDB to a topic or queue hth tom On Thu, 21 Jun 2001, you wrote: > I'm just starting to experiment with mess

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Scott M Stark
Obtain a thread dump of the vm in this situation to see where the threads are via a Ctrl-\ or SIGQUIT. This gets dumped to stderr so you need to redirect this or have a huge console buffer or logging. - Original Message - From: "Nicolai P Guba" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

[JBoss-user] [JAWS] and finders

2001-06-21 Thread SoftLiban RAMLAWI Mona
Hi all, I'm just getting started with jBoss. I successfully deployed my first CMP bean and mapped it using jaws.jar .. I added a finder and added it's descriptor in jaws.xml.. However, this finder is not being interpreted by JAWS .. I turned the debugger on and checked server.log, and it just pass

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Igor Rabinovich
What does it mean: switch of the tuned updates for the bean? Where? Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 1:02 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Urgent: storing vector in the

Re: [JBoss-user] java.lang.NullPointerException in deployment descriptor - but what exactly

2001-06-21 Thread Sebastien Alborini
Uma Shanker wrote: > > Hello !! > > Here is ejb-jar.xml. Section is commented but was originally > there. Hi, In the assembly-descriptor, you have . This element should not be empty. (should be one of Supports, Required, ...) There is a bug in jboss, so that it fails to report the problem co

Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread Hoong-Shen Wong
I do a lookup for it using java:/defaultSourceName. I tried the call and it works so far as I can execute the SQL (i.e. if the table doesn't exist, it throws an exception), but it doesn't get written to the database. And when I checked for a transaction. It appears that JBoss thinks I'm not in a t

[JBoss-user] CMP findAll: how to specify order of returned objects?

2001-06-21 Thread Richard Kasperowski
I have CMP bean with a findAll operation that returns a Collection of objects. The order of the objects in the collection seems to be arbitrary: sometimes the sequence is A B C, other times the sequence is B A C, and other times objects are returned in a different sequence. As far as I can te

RE: [JBoss-user] CMP findAll: how to specify order of returned objects?

2001-06-21 Thread Nordahl, David C
You can put an order field in the jaws entry SteveBean true STEVE findByAll last_name ASC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Kasperowski Sent: Thursday, June 21

Re: [JBoss-user] Auto-commit at the end of a stateless session bean

2001-06-21 Thread danch (Dan Christopherson)
Hoong-Shen Wong wrote: > I do a lookup for it using java:/defaultSourceName. I tried the call and it > works so far as I can execute the SQL (i.e. > if the table doesn't exist, it throws an exception), but it doesn't get > written to the database. And when I checked for > a transaction. It appear

Re: [JBoss-user] [JAWS] and finders

2001-06-21 Thread danch (Dan Christopherson)
SoftLiban RAMLAWI Mona wrote: > Hi all, > I'm just getting started with jBoss. I successfully deployed my first > CMP bean and mapped it using jaws.jar .. jaws.xml, right? > I added a finder and added it's descriptor in jaws.xml.. > However, this finder is not being interpreted by JAWS .. I t

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

2001-06-21 Thread Samuel Bucholtz
We had a similar problem on my last project. We ended up just using brute force to solve the situation, we had tomcat and apache serving from a specific directory. This directory would actually be a symlink to the latest version of the code. We modified our Ant build script to generate the war fi

Re: [JBoss-user] CMP findAll: how to specify order of returned objects?

2001-06-21 Thread danch (Dan Christopherson)
You should be able to do that as a 'defined finder' with an empty query parameter - see the JAWS section of the online manual. Richard Kasperowski wrote: > I have CMP bean with a findAll operation that returns a Collection of > objects. The order of the objects in the collection seems to be

[JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Paul Tamas
Hi all, MANIFEST.MF file is generated when I created the .war file. Could you tell me how can I modify it (I want to add the Class-Path). thanks in advance Paul _ Get Your Private, Free E-mail from MSN Hotmail at http://ww

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Nicolai P Guba
> "SMS" == Scott M Stark writes: SMS> Obtain a thread dump of the vm in this situation to see where the SMS> threads are via a Ctrl-\ or SIGQUIT. This gets dumped to stderr SMS> so you need to redirect this or have a huge console buffer or SMS> logging. Ok. Will do as soon as thir reappear

Re: [JBoss-user] JAAS problem

2001-06-21 Thread Scott M Stark
A standalone war should not be able to see ejbs deployed in a seperate jar so I still don't understand what is deployed where. 1. Show me the contents of your ejb jar file that you place into the deploy directory. 2. Show me the contents of your soap war and tell me how it is deployed. - Ori

Re: [JBoss-user] closing PreparedStatements

2001-06-21 Thread Nicolai P Guba
> "TY" == Tim Yates <[EMAIL PROTECTED]> writes: TY> Hooray!! And I was worried that I was just being hopelessly TY> paranoid ;-) TY> Thanks for that :-) (I too use Oracle) He's right. When he pointed that out to me I started closing them in reverse order. Even if it's a bit paranoid, con

[JBoss-user] Error in deployment due to a former field

2001-06-21 Thread Pinol, Helen
Hi all, I am using JBoss for many weeks and everything went well since this morning...! Here is my problem: I had a table with the 'msgExp' cmp-field in the database. But I no more need this field, so I removed all stuff related to this field in my whole j

[JBoss-user] JAAS with JBoss and Tomcat

2001-06-21 Thread SRadford
I've seen this problem posted but can't seem to find anything that sovles it. I am running JBoss 2.2.2 FINAL with Embedded Tomcat. I have written a JAAS Server login module (to authenticate via a DB) based on the JBoss tutorial ages ago. To get JBoss to locate the class I HAD to put the jar con

RE: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] how can I modify MANIFEST.MF file How are you creating the war file? If you atre using jar you can use the 'm' option to specify the manifest file on the command line check out the jar docs at http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/jar.html. If you are usin

Re: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Chris Kimpton
Hi, Guess that you are using ant to build your war file, there is an option on the ant jar task to specify the file to use as the manifest.mf file. You then explicitly create your manifest file upfront and then tell ant to use it on the jar task. HTH, Chris --- Paul Tamas <[EMAIL PROTECTED]> w

Re: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Mike Hoolehan
It depends on how you created the war file. If you used the jar utility, then use the m option and supply your custom manifest filename right before the jar name (e.g. jar cmf manifestfile jarfile *.class ). If you're building with ant, then use the manifest attribute of the jar task to speci

Re: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread VASQUEZ_JASON
If you're just using command-line jar, you do it like this: jar -cvfm -Jason Chris Kimpton <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 06/21/2001 11:26 AM Please respond to jboss-user                 To:        [EMAIL PROTECTED]         cc:                 Subject:        Re: [JB

[JBoss-user] Jboss and RMI problem on Solaris

2001-06-21 Thread Bhavin Patel
hi friends, we r running jboss2.2 on solaris and tomcat on linux. the scenario is as under. our naming service is on port 8080 on solaris and rmi is at 1099 on linux. problem: we are calling a remote method on RMIObject(running on tomcat on linux) from Session Bean(on JBoss on Solaris)

RE: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Unico Hommes
If you have winzip you can open the archive in winzip, open the Manifest.mf in notepad from within winzip. Save the changed Manifest.mf to the hard drive. Remove the previous Manifest.mf from the archive, and add the modified Manifest.mf to the archive. Close winzip. -Oorspronkelijk bericht--

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

2001-06-21 Thread Jim Crossley
I'm really surprised there's not a better way, especially since: 1) Tomcat recommends using Apache to deliver static content 2) JBoss recommends using Tomcat to deploy web apps One would think that, by association, there would be a cleaner integration between the three of them. Without regard t

Re: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Allen fogleson
Your dba is going to hate you...In general I can think of very few reasons to store an object in the database. I would suggest something like a command pattern to handle the situation of not knowing what the array contains. unless you have a limitless assortment of possibilities. you can use the c

RE: [JBoss-user] how can I modify MANIFEST.MF file

2001-06-21 Thread Konstantin Priblouda
--- Unico Hommes <[EMAIL PROTECTED]> wrote: > If you have winzip you can open the archive in > winzip, open the Manifest.mf > in notepad from within winzip. Save the changed > Manifest.mf to the hard > drive. Remove the previous Manifest.mf from the > archive, and add the > modified Manifest.mf t

[JBoss-user] jBoss-tomcat & jcml

2001-06-21 Thread Richard Bottoms
The following is in the JBoss manual regarding changing the jboss.jcml file: >Tell JBoss about the new JBDC driver > >Now that you have installed a JDBC driver for MS SQL Server, you need to tell JBoss that you would like it to use >this driver. Add an entry for the driver to the list of drivers

Re: [JBoss-user] jboss.jcml

2001-06-21 Thread Grim Shieldsson
Yes I have.. works quite well. --- Richard Bottoms <[EMAIL PROTECTED]> wrote: > Anyone successfully load and use mm.mysql.jdbc or other MySQL driver > from > an entry in jboss.jcml. > > > Thanks, > r.b. > > > > > > ___ > JBoss-user mailing list >

  1   2   >