[JBoss-user] 伙伴神找伙伴

2003-03-31 Thread 12iaua
成功=技能+机遇 如果你有技能,请不要拒绝机遇! 无论你是使用、送礼;还是经营、出口; 或者是创业、合作; 我保证你对我的产品感兴趣 伙伴神――洛小平 请进入http://www.hbs.com.cn/ [EMAIL PROTECTED] 请回电0755―27571892 --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidt

[JBoss-user] Usage of JRE1.3.1 instead JDK1.3.1 for JBoss startup

2003-03-31 Thread Muraly R
Hi All, One doubt regarding the usage of JDK1.3.1 and JRE1.3.1. Currently my application has JRE1.3.1 in the real environment. Though in the development environment I am using JDK1.3.1. In the real environment I have modified the run.bat to use 'rt.jar', instead of 'tools.jar'. The server is u

RE: [JBoss-user] *-ds.xml file won't deploy on 3.2.0 RC4

2003-03-31 Thread David Jencks
Sorry for the delay in looking into this. Some of the examples had a mistake, namely xa-tx-datasource tags instead of xa-datasource. I fixed the ones I found in cvs. david jencks On 2003.03.31 15:02 "Demyanovich, Craig - Apogent" wrote: > Hello again everyone, > > If anyone can deploy an XA d

Re: [JBoss-user] PostgreSQL Datasource Problem

2003-03-31 Thread David Jencks
study your server.log carefully, you will probably find the problem david jencks On 2003.03.31 12:36 Edgar Silva wrote: > Hi Folks... > > I am creating a Datasource using Postgres-service.xml, > I think that everything it´s ok in configuration, > But when I run this module, I get a naming Except

Re: [JBoss-user] Customized SARDeployer?

2003-03-31 Thread Scott M Stark
You could write your own deployer that extends the SARDeployer and uses its own custom package extension say '.xsar' to work around not being able to replace the SARDeployer. You could also use the JBoss model mbean implementation and provide your own persistence manager implementation to access t

Re: [JBoss-user] is there Global Context in Enterprise Beans..

2003-03-31 Thread Guy Rouillier
Magesh Prabhu wrote: Hi guys, Is there a global context in Enterprise beans where I can store a HashTable which can be shared by all the enterprise beans. Basically, what I'm looking for is a in memory Object which can be accessed from many enterprise beans. Please tell me some suggestions t

Re: [JBoss-user] Servlet/EJB JAAS login problem

2003-03-31 Thread Brian Wallis
I have this same problem. If I retry the action a few times (go back in the browser and try again) it eventually works. I haven't yet had a chance to look into it but I realised on initial examination that I have no idea how it is meant to work (I'm debugging someone else's struts gui and don't

Re: [JBoss-user] Exposing timestamp-column field for Optimistic lock

2003-03-31 Thread Alex Loubyansky
Using optimistic locking with timestamp_column_strategy means an entity will be added a timestamp column that will be used for optimistic locking. It can't be accessed by application. (Indeed, it should be possible to mention it in a QL statement) If you want a CMP timestamp field to be used in op

Re: [JBoss-user] JBoss: Not Ready For Prime Time

2003-03-31 Thread Brian Wallis
On Sat, 29 Mar 2003 13:58, Ed Brown wrote: G'day Ed, Great and thanks. That is much more useful comment. No doubt people will defend various parts of jboss, but this is good input to be going forward with. Perhaps more constructive discussion can now occur instead of the bandwidth wasting that

[JBoss-user] Customized SARDeployer?

2003-03-31 Thread Gavin Matthews
Hi, I have a requirement that when deploying an MBean (3rd party or in-house) I need to be able to populate it with information from a database (rather than just read the defaults from jboss-service.xml). I've seen some hints on some other postings (by Bill Bruke) that imply it's possible to do

Re: [JBoss-user] CMR Error under load

2003-03-31 Thread Simone Milani
Hi Andrew, I am trying your test, do you have a script to populate the tables and the parameters for the CMRTestClass? Thanks Simone - Original Message - From: "Andrew May" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 2:46 PM Subject: Re: [JBoss-user] CMR

Re: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Dan K.
Hi Bela, I'm sorry about hijacking this thread Jason et all, but it really did upset me that I try to help others and when I need help, no one even turns around, but I was nice about it since I do understand how things go around here. :) I have posted a more thorough report on my reproducible se

RE: [JBoss-user] Red Hat 9.0 and NPTL - Better Linux Threading

2003-03-31 Thread Sebastian Hauer
AFAIK you will have to run at least kernel 2.5.36 (unstable development kernel) if you want to take advantage of NPTL. Though I think it sounds promissing and I am realy looking forward to 2.6.x. Sebastian > -Original Message- > From: Hunter Hillegas [mailto:[EMAIL PROTECTED] > Sent: Fri

[JBoss-user] CMR question: r-table-mapping, with existing tables

2003-03-31 Thread Bill Curtis
hello... I have an existing table, A, which has a 1..* relationship with itself. This relationship makes us of an existing mapping table, B. I have inherited these tables, and unfortunately cannot alter them. Table A has a meaningless PK, called "oid". Table A also has a unique, meaningful col

RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Sacha Labourey
Instead of the stacktrace, we are more interested you try a recent JBoss release such as 3.0.6. And yes, you can pack all of your ejb-jars in a single .JAR Cheers, Sacha > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > J

Re: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Bela Ban
Dan K. wrote: Hi, This is so nice that you all immediately jump to help Jason out but what about a real problem I posted on session-replication?? (thread subject as "session bug?" A simple acknowledgement would be nice...? Thanks. Regards, Dan Hi Dan, take it easy, sometime messages get droppe

RE: [JBoss-user] MS SQL drivers

2003-03-31 Thread Jeremy Boynes
Un-abashed plug for the inet drivers. I have used them in several configurations and found them to be feature-rich, to perform well, and best of all be stable. Inet-software have been responsive to the few issues found, typically issuing a patch within 24 hours. Given the price of an Enterprise lic

Re: [JBoss-user] Is there a logger service available from Jboss?

2003-03-31 Thread Guy Rouillier
Marco Tedone wrote: Hi, I know that Jboss uses log4j; is there any service available which I could call from one of my Session Bean instead of implementing all the logger architecture [something like Log logger = (Log)context.lookUp("java:/Logger"); ] What architecture? All you have to do to use l

[JBoss-user] Is there a logger service available from Jboss?

2003-03-31 Thread Marco Tedone
Hi, I know that Jboss uses log4j; is there any service available which I could call from one of my Session Bean instead of implementing all the logger architecture [something like Log logger = (Log)context.lookUp("java:/Logger"); ] Regards, Marco

[JBoss-user] Re: Deployments crashed because http://www.jboss.org/j2ee/dtd/jboss-app_3_0.dtd is no longer accessible?

2003-03-31 Thread Marco Tedone
I had the same problem, which I solved from Ant by overriding the dtd location on the local repository (${JBOSS_HOME}/docs/dtd/jboss_3_0.dtd). Hope it will help, Marco Message: 5 > Date: Mon, 31 Mar 2003 10:41:11 +0300 > From: "Alexey Yudichev" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sub

RE: [JBoss-user] *-ds.xml file won't deploy on 3.2.0 RC4

2003-03-31 Thread Demyanovich, Craig - Apogent
Hello again everyone, If anyone can deploy an XA data source on SQL Server 2000, please tell me about it. No matter what I try, my data source is never bound in JNDI (as viewed in the jmx-console in the JCA section) and therefore is never usable by any application. I'm growing increasingly frust

RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Dan K.
Hi, This is so nice that you all immediately jump to help Jason out but what about a real problem I posted on session-replication?? (thread subject as "session bug?" A simple acknowledgement would be nice...? Thanks. Regards, Dan On Mon, 31 Mar 2003, Sacha Labourey wrote: > Bela, I wouldn't

RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Jason Stortz
Sacha, Okay, well, I'll take a crack at it this afternoon and tomorrow, and let you know how it works out. We haven't been upgrading because so far, everything really works pretty well! Thanks Sacha, Bela, Burke. I'll keep you posted on how it goes. -Original Message- From: Sac

Re: [JBoss-user] auth login config file from JSP

2003-03-31 Thread Scott M Stark
You need to specify the security domain name in the war WEB-INF/jboss-web.xml descriptor. java:/jaas/xyz Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Ionel Gardais" <[EMAIL PROTECTED]> To: <[EM

RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Sacha Labourey
Bela, I wouldn't stress too much before Jason tries 3.0.6, 3.0.0 is VERY old (one year old) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bela Ban > Sent: lundi, 31. mars 2003 18:40 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [J

RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Jason Stortz
I will try to watch for the stack trace again and include it with my next post. Maybe that will help, maybe not, but who knows. ONE OTHER question though...can you pack multiple EJB's into one .jar file? Maybe if we reduced the amount of file copying to one jar instead of 11 it would reduce cha

Re: [JBoss-user] MS SQL drivers

2003-03-31 Thread Felipe Oliveira
hi dave, i use jboss with sql server using jtds and i haven't had any problem so far. and it's free. i use sql server 7.0microsoft doesn't have any jdbc driver for sql server 7.0 just 2000. felipe Dave Neuer wrote: Hi all, Does anyone have any concrete reasons why one should buy the Inet

RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Sacha Labourey
Jason, You should **really** upgrade to 3.0.6 or even Branch_3_0. Since 3.0.0, a huge number of fixed have been applied to JBoss clustering (and every other part as well). For example, even this morning I've fixed a farming bug, so ;) Try it please. Cheers, Sacha > -

[JBoss-user] PostgreSQL Datasource Problem

2003-03-31 Thread Edgar Silva
Hi Folks... I am creating a Datasource using Postgres-service.xml, I think that everything it´s ok in configuration, But when I run this module, I get a naming Exception: With this message: "PostgresDS not bound " PostgresDS is the JNDI name in postgresDS Any idea? regards Edgar -

Re: [JBoss-user] Farming on 3.0.6 w/ tomcat

2003-03-31 Thread Christian Joelly
Hello Sacha! sorry for my late reply, and thanks a lot for this fast action. Any other J2EE app server vendor out there that (can) work like this? ;-] cheers, Chris On Mon, Mar 31, 2003 at 10:08:40AM +0200, Sacha Labourey wrote: > > Don't bother adding a bug reports, I did it and fixed it. >

Re: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Bela Ban
Hmm, this could be a fragmentation problem. I modified cluster-service.xml in the CVS. Jason, can you try running with that one ? jboss-head/cluster/src/etc/cluster-service.xml ? Also, is there any error message when you get a corrupted JAR ? Bill Burke wrote: Sacha, Bela? -Original Mess

Re: [JBoss-user] Servlet/EJB JAAS login problem

2003-03-31 Thread Scott M Stark
You cannot turn off the multi-thread behavior of the security layer inside of the JBoss server. The ClientLoginModule multi-threaded only has an affect outside of the JBoss server VM. Scott Stark Chief Technology Officer JBoss Group, LLC - Ori

[JBoss-user] MS SQL drivers

2003-03-31 Thread Dave Neuer
Hi all, Does anyone have any concrete reasons why one should buy the InetSoftware JDBC drivers for MS SQL Server 2000 w/ JBoss? I.e., what actual problems w/ freely available drivers (like MS's) have people experienced? My company needs to get its ducks in a row WRT to purchasing something if th

RE: [JBoss-user] CMR Error under load

2003-03-31 Thread Bill Burke
take a look on SourceForge on how to access CVS anonymously cvs checkout -r Branch_3_2 jboss-3.2 cd jboss-3.2/build build.sh that's it. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Andrew May > Sent: Monday, March 31, 2003 8:46 AM > To: [EMAIL PR

[JBoss-user] Exposing timestamp-column field for Optimistic lock

2003-03-31 Thread Simone Milani
Hi,       I am currently testing Optimistic locking with the Timestamp Strategy.  My findings are that the timestamp column cannot be a CMP field otherwise the insert SQL will include it 2 times.    Any thoughs anyone?   Thanks!   Simone

[JBoss-user] auth login config file from JSP

2003-03-31 Thread Ionel Gardais
Hi, I have ran a standalone app that access to EJBs in JBoss that are secured by a securityDomain. The command line shows -Djava.security.auth.login.config=$JBOSS_HOME/client/auth.conf, everything works fine. I am now trying to make JSP accessing the same EJBs. Although my security domain is

RE: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Bill Burke
Sacha, Bela? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jason Stortz > Sent: Monday, March 31, 2003 8:12 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS) > > > Short Description: Farm doesn't

RE: Re[2]: [JBoss-user] CMR uses the default datasource in stead of the one specifically specified for the CMP 2.0 EJB entity beans concerned

2003-03-31 Thread Jboss Percy
I will try it, thanks for the information Christian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Loubyansky Sent: maandag 31 maart 2003 15:02 To: Jboss Percy Subject: Re[2]: [JBoss-user] CMR uses the default datasource in stead of the one specifi

RE: [JBoss-user] CMR uses the default datasource in stead of the one specifically specified for the CMP 2.0 EJB entity beans concerned

2003-03-31 Thread Allan Kamau
Hi, I faced the same problem some time back and this is how I solved it (on JBoss 3.0.6). My application was using data from PostgreSQL database and I had to access use data residing a M$ SQL 2000 database. I had configured the entire application to use PostgreSQL for CMP persistence. I did this by

Re: [JBoss-user] CMR Error under load

2003-03-31 Thread Andrew May
I don't see a RC5 release on sourceforge, so I assume this means I have to build it from CVS. I'll give that a go, but as I've never tried it before it could take me a while (never actually used CVS I confess) - still it's something I ought to be able to do. If anyone has a chance to run my test

[JBoss-user] separate config files for log4j (per application)

2003-03-31 Thread costin
Hi! I am posting this question as searching the forums didn`t revealed anything. I have seen a thread in february about this question, using the log4j repository to make each web-app load their own log4j.xml file configuration (so no editing of jboss log4j.xml is needed). How ever, aft

Re[2]: [JBoss-user] CMR Error under load

2003-03-31 Thread Alex Loubyansky
Could you, please, try it on JBoss-3.2.0RC5 which is the current version. I have a testcase that failed in my old 3.2 and passes in current 3.2.0RC5. Please, try it. alex Monday, March 31, 2003, 12:37:32 PM, Andrew May wrote: AM> OK, here's a test case that recreates the problem for me. AM> I'

[JBoss-user] Cluster/Farm Problems - corrupted zip files (JARS)

2003-03-31 Thread Jason Stortz
Short Description: Farm doesn't copy jars to other servers correctly about 30% of the time. Situation: We've got 4 JBoss servers clustered together. We're using the original 3.0.0 release of JBoss. We have about 7 stateless session beans and 4 entity beans. Detailed Description: We have t

Re[2]: [JBoss-user] CMR uses the default datasource in stead of the one specifically specified for the CMP 2.0 EJB entity beans concerned

2003-03-31 Thread Alex Loubyansky
Just ported the fix to JBoss_3_0. You need to check out the source from CVS and build it yourself. For 3.0 version: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -r Branch_3_0 jboss-3.0 alex Monday, March 31, 2003, 3:02:15 PM, Jboss Percy wrote: JP> I use the normal download (with Tomc

[JBoss-user] Problem to create a stand-alone Server implemented as a PortableRemoteObject

2003-03-31 Thread Jboss Percy
I have an EJB Enterprise application that was previously running under BES 5.2 / Visibroker and which I am porting to JBoss 3.0.6 with tomcat 4.1.18. I already ported some EJB and that seems to go OK. This application also uses some stand-alone Java servers. Some of these servers are implemented

RE: [JBoss-user] CMR uses the default datasource in stead of the one specifically specified for the CMP 2.0 EJB entity beans concerned

2003-03-31 Thread Jboss Percy
I use the normal download (with Tomcat integrated) from the Jboss Site jboss-3.0.6_tomcat-4.1.18. Here is the release log. JBoss Release: JBoss-3.0.6 CVSTag=JBoss_3_0_6 How and where can I get that latewst release? Is that build or do I have to retrieve the sources and build My own version from a

Re: [JBoss-user] CMR uses the default datasource in stead of the one specifically specified for the CMP 2.0 EJB entity beans concerned

2003-03-31 Thread Alex Loubyansky
What JBoss version are you using? This was fixed in Branch_3_2 recently. alex Monday, March 31, 2003, 2:05:25 PM, Jboss Percy wrote: JP> I am new to JBoss and to MySql (although the problem has not JP> specifically to do with MySql). JP> I am trying to port a rather large application from Borlan

[JBoss-user] CMR uses the default datasource in stead of the one specifically specified for the CMP 2.0 EJB entity beans concerned

2003-03-31 Thread Jboss Percy
I am new to JBoss and to MySql (although the problem has not specifically to do with MySql). I am trying to port a rather large application from Borland BES 5.2 to JBoss 3.06 and ran in a little problem. The application uses different databases, which I all hosted to MySql. Each deployable unit ha

[JBoss-user] Re: Where has my memory gone?

2003-03-31 Thread David Rocks
After a good look in my code I have tracked the leak to a certain area of our system. Although I am not really sure what the bug is as JProbe seems to think that all is fine and I cannot seem to see an error with the code. Here is a brief description of the problem and the work around. We have

Re: [JBoss-user] Servlet/EJB JAAS login problem

2003-03-31 Thread josv
A follow-up to my own post: I hacked the applogic somewhat to perform a JAAS Login (always) just before an EJB action. Now it works... This would lead me to believe that the ClientLoginModule keeps credentials on a per thread basis (or maybe classloader related?) However I have the multi-threaded

Re: [JBoss-user] CMR Error under load

2003-03-31 Thread Andrew May
OK, here's a test case that recreates the problem for me. I've attached test.jar which is the ejb-jar and also includes the test case class. Also attached is test-src.jar which has the source code for the EJBs and the test. I'm afraid I've been hacking around existing build scripts to create the

[JBoss-user] Servlet/EJB JAAS login problem

2003-03-31 Thread josv
Hi, I run JBoss 3.0.6 with integrated Tomcat. My servlets/JSPs connect to EJBs running in the same VM (using the remote interface). I got an initialization servlet that performs a JAAS Login (using the ClientLoginModule) *and* I got a JSP that does a JAAS logout/login (to aid me in debugging). Whe

Re: [JBoss-user] Right place for jboss-app.xml

2003-03-31 Thread Bernd Koecke
I looked a little bit into the code and i saw, that by reading the jboss-app.xml all data except the 'display-name' is set to an empty string. The application.xml will be read first and the same function imports the data from jboss-app.xml. But the elements from application.xml aren't allowed in

[JBoss-user] is there Global Context in Enterprise Beans..

2003-03-31 Thread Magesh Prabhu
Hi guys, Is there a global context in Enterprise beans where I can store a HashTable which can be shared by all the enterprise beans. Basically, what I'm looking for is a in memory Object which can be accessed from many enterprise beans. Please tell me some suggestions to do this. thanks

[JBoss-user] JMS problem

2003-03-31 Thread NIELSEN JAN, Teliadk
Hi, I'm trying to connect to a message queue from an application that runs outside JBOSS(3.06) But when I run the following code: java.util.Hashtable env = new java.util.Hashtable(); env.putContext.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFact ory"); env.put(Context.PRO

[JBoss-user] PortableRemoteObject.narrow(PortableRemoteObject.java:293) and ClassCastException

2003-03-31 Thread Stuart Barlow
Yes its this one again. I have a simple SessionBean in jBoss 3.0.6 and a simple client. I have used xdoclet to generate the EJB code. I read in an earlier mail that ClassCastException is thrown from PortableRemoteObject for a number of reasons not just a casting error. Is this true? What other prob

Re[2]: [JBoss-user] transaction restarts + log4j

2003-03-31 Thread costin
Well, not really. I`ve just finished reading the log4j 1.2.7 manual and there is a chapter for upgrades ; moving from category/priory to logger/level is very well encouraged. SMS> 3.0.6 uses log4j1.2.2. Why does the use of category/priority vs logger/level SMS> in the config file affect you? SMS

RE: [JBoss-user] Farming on 3.0.6 w/ tomcat

2003-03-31 Thread Sacha Labourey
Don't bother adding a bug reports, I did it and fixed it. http://sourceforge.net/tracker/index.php?func=detail&aid=712542&group_id=228 66&atid=376685 > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Sacha Labourey > Sent: dimanche, 30. mars 2003

Re: [JBoss-user] Transaction differences in weblogic and jboss

2003-03-31 Thread Jon Haugsand
* Manoj Sasidharan > Are you running on WLS 7.x??? We found some differences b/w WLS 6.x and WLS > 7.x in the transaction feature. We use Weblogic 7.0. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.net email is s