Re: [JBoss-user] XAConnectionImpl warning

2002-10-07 Thread Giorgio Ponza

TX,
but i think it's not a bug.

I will change some Java code, and then, if the error persists, i will write
here again.
Bye
Giorgio
- Original Message -
From: David Jencks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 05, 2002 6:24 AM
Subject: Re: [JBoss-user] XAConnectionImpl warning


 I doubt this is going to cause a problem, but I'd appreciate your filing a
 bug (assign it to me if possible) and I will try to find time to look at
it

 thanks
 david jencks

 On 2002.10.04 05:54:04 -0400 Giorgio Ponza wrote:
  Hi all.
  I have JBoss 2.4.8 and PostgreSQL 7.2.2
 
  i create a Pool with this code in jboss.jcml
  mbean code=org.jboss.jdbc.XADataSourceLoader
  name=DefaultDomain:service=XADataSource,name=db_shop
  attribute name=PoolNamedb_shop/attribute
  attribute
 
name=DataSourceClassorg.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/attr
  ibute
  
 
  It works, but when i set the
  con.setAutocommit(true) or con.setAutocommit(false) from my java code,
  jboss
  writes on console
 
  [WARN,XAConnectionFactory] XAConnectionImpl:
  org.jboss.pool.jdbc.xa.wrapper.XAConnectionImpl@145c859 has no current
  tx!
 
  Have i to worry?
  Tx
  Giorgio
 
 
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 


 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] SRP client login problem

2002-10-07 Thread KRÁLIK Vladimír

Thanks, I found this in SRC last weekend. 
But what may I do when first client falls (ends) without logout ? 
Login of this user is locked, until timeout of cache is reached. :-(. 
User can login second-time to client, but he cannot work with EJB.

Why SRPLoginModule ( client-side ) accept login, if session is already
opened on server ?

vlk

 -Original Message-
 From: Scott M Stark [mailto:[EMAIL PROTECTED]]
 Sent: 4. októbra 2002 19:33
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] SRP client login problem
 
 
 By default SRP only allows one active username with a session. The
 Ignoring SRP session due to existing session
 message is saying the second attempt to initiate a SRP session for aaa
 will not replace the existing session. You need to enable 
 multiple sessions
 per user via the multipleSessions=true login module option in 
 the client.
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] How to avoid entity beans read lock ?

2002-10-07 Thread Horia Muntean

Hello all.

I am using A commit-option  on a Standard CMP EntityBean container.

I was wandering if there is any way to avoid the locking of the 
EB(entity beans) when one (i.e session bean) calls get* methods 
(read-only) upon them.

Any help would be appreciated.

Thanks.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Sporadic problem starting up, effects Jasper compilationof JSP pages - Solution

2002-10-07 Thread Jonathan . O'Connor

Folks,
I found the source of my problem. I was running on Windows 2000. The 
server deployment was in a directory called Traxbahn. I was starting it 
using run -c traxbahn
Note the difference in case between Traxbahn and traxbahn. Silly me 
assumed that because windows is case insensitive with file names, that 
JBoss running on top of Windows would also be case insensitive. Not so. It 
is only partially case insensitive. Personally, this is worse than fully 
case sensitive or fully case insensitive.

Ciao,
Jonathan O'Connor
Ph: +353 1 872 3305
Mob: +353 86 824 9736
Fax: +353 1 873 3612




Jonathan.O'[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
04.10.2002 17:53
Please respond to jboss-user

 
To: [EMAIL PROTECTED]
cc: 
Subject:[JBoss-user] Sporadic problem starting up, effects Jasper 
compilation of 
JSP pages


Guys,
Here's a strange thing:
If I take JBoss 3.0.1 straight out of the box and do run -c default, 
everything works wonderfully, and I can go to the JMX console web page 
without any problems.

However, if I take a copy of the server/default and copy it to 
server/traxbahn
1. I add two libraries jpos-1.4.0.jar and classes12.jar (nothing strange 
here) to server/traxbahn/lib
2. I replace server/traxbahn/conf/login-config.xml with my own one which 
does auto-logon to the DB. This is also standard. It works fine.
3. I add an oracle-service.xml to server/traxbahn/deploy which knows how 
to connect to our Oracle DB. This also works fine.

Now I start the JBoss server. I have seen what follows happen under 3.0.0 
and 3.0.1. After a while I get the following messages on the console:

17:24:07,413 INFO  [jbossweb] Registered 
jboss.web:Jetty=0,JBossWebApplicationContext=0,context=/jmx-console
17:24:07,503 INFO  [jbossweb] Checking Resource aliases
17:24:07,714 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/mail-service.xml/54.mail-service.xml
17:24:07,734 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/mail.jar/15.mail.jar
17:24:07,754 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/jbossmx.jar/8.jbossmx.jar
17:24:07,784 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/traxbahn/lib/scheduler-plugin.jar/62.scheduler-plugin.jar
17:24:07,804 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jbossweb.sar/org.apache.jasper.jar/43.org.apache.jasper.jar
17:24:07,824 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jbossweb.sar/org.mortbay.jetty.jar/42.org.mortbay.jetty.jar
17:24:07,844 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jbossweb.sar/org.mortbay.j2ee.jar/40.org.mortbay.j2ee.jar
17:24:07,864 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/process-plugin.jar/31.process-plugin.jar
17:24:07,884 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/jboss.jar/12.jboss.jar
17:24:07,904 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/hsqldb-service.xml/49.hsqldb-service.xml
17:24:07,934 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jboss-xa.rar/66.jboss-xa.rar-contents/ra-xa-libs.jar
17:24:07,954 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/xalan.jar/24.xalan.jar
17:24:07,974 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/mail-plugin.jar/32.mail-plugin.jar
17:24:07,994 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jca-service.xml/52.jca-service.xml
17:24:08,014 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/scheduler-plugin-example.jar/23.scheduler-plugin-example.jar
17:24:08,034 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jbossmq-destinations-service.xml/50.jbossmq-destinations-service.xml
17:24:08,054 WARN  [JBossWebApplicationContext#/jmx-console] bad classpath 

entry: 
file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/scheduler-plugin.jar/27.scheduler-plugin.jar
17:24:08,074 WARN  

RE: [JBoss-user] How to avoid entity beans read lock ?

2002-10-07 Thread Sacha Labourey

Hello,

you can use the read-only tag at the bean or method level.

Cheers,


Sacha

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de Horia
 Muntean
 Envoyé : lundi, 7 octobre 2002 11:19
 À : [EMAIL PROTECTED]
 Objet : [JBoss-user] How to avoid entity beans read lock ?


 Hello all.

 I am using A commit-option  on a Standard CMP EntityBean container.

 I was wandering if there is any way to avoid the locking of the
 EB(entity beans) when one (i.e session bean) calls get* methods
 (read-only) upon them.

 Any help would be appreciated.

 Thanks.



 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Sporadic problem starting up, effects Jasper compilation of JSP pages - Solution

2002-10-07 Thread Sacha Labourey

I am not sure this is a Windows issue: Windows didn't care about the case
wrt to the folder name. The only one doing this difference was the Java code
on top of it that was making strict comparison (IMHO)

Cheers,


Sacha

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de
 Jonathan.O'[EMAIL PROTECTED]
 Envoye : lundi, 7 octobre 2002 11:39
 A : [EMAIL PROTECTED]
 Objet : Re: [JBoss-user] Sporadic problem starting up, effects Jasper
 compilation of JSP pages - Solution


 Folks,
 I found the source of my problem. I was running on Windows 2000. The
 server deployment was in a directory called Traxbahn. I was starting it
 using run -c traxbahn
 Note the difference in case between Traxbahn and traxbahn. Silly me
 assumed that because windows is case insensitive with file names, that
 JBoss running on top of Windows would also be case insensitive.
 Not so. It
 is only partially case insensitive. Personally, this is worse than fully
 case sensitive or fully case insensitive.

 Ciao,
 Jonathan O'Connor
 Ph: +353 1 872 3305
 Mob: +353 86 824 9736
 Fax: +353 1 873 3612




 Jonathan.O'[EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 04.10.2002 17:53
 Please respond to jboss-user


 To: [EMAIL PROTECTED]
 cc:
 Subject:[JBoss-user] Sporadic problem starting
 up, effects Jasper compilation of
 JSP pages


 Guys,
 Here's a strange thing:
 If I take JBoss 3.0.1 straight out of the box and do run -c default,
 everything works wonderfully, and I can go to the JMX console web page
 without any problems.

 However, if I take a copy of the server/default and copy it to
 server/traxbahn
 1. I add two libraries jpos-1.4.0.jar and classes12.jar (nothing strange
 here) to server/traxbahn/lib
 2. I replace server/traxbahn/conf/login-config.xml with my own one which
 does auto-logon to the DB. This is also standard. It works fine.
 3. I add an oracle-service.xml to server/traxbahn/deploy which knows how
 to connect to our Oracle DB. This also works fine.

 Now I start the JBoss server. I have seen what follows happen under 3.0.0
 and 3.0.1. After a while I get the following messages on the console:

 17:24:07,413 INFO  [jbossweb] Registered
 jboss.web:Jetty=0,JBossWebApplicationContext=0,context=/jmx-console
 17:24:07,503 INFO  [jbossweb] Checking Resource aliases
 17:24:07,714 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/mail-se
 rvice.xml/54.mail-service.xml
 17:24:07,734 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/mail.jar/1
 5.mail.jar
 17:24:07,754 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/jbossmx.ja
 r/8.jbossmx.jar
 17:24:07,784 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/traxbahn/lib/scheduler-
 plugin.jar/62.scheduler-plugin.jar
 17:24:07,804 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jbosswe
 b.sar/org.apache.jasper.jar/43.org.apache.jasper.jar
 17:24:07,824 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jbosswe
 b.sar/org.mortbay.jetty.jar/42.org.mortbay.jetty.jar
 17:24:07,844 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jbosswe
 b.sar/org.mortbay.j2ee.jar/40.org.mortbay.j2ee.jar
 17:24:07,864 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/process-pl
 ugin.jar/31.process-plugin.jar
 17:24:07,884 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/jboss.jar/
 12.jboss.jar
 17:24:07,904 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/hsqldb-
 service.xml/49.hsqldb-service.xml
 17:24:07,934 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jboss-x
 a.rar/66.jboss-xa.rar-contents/ra-xa-libs.jar
 17:24:07,954 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/xalan.jar/
 24.xalan.jar
 17:24:07,974 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/lib/mail-plugi
 n.jar/32.mail-plugin.jar
 17:24:07,994 WARN  [JBossWebApplicationContext#/jmx-console] bad
 classpath

 entry:
 file:/H:/server/traxbahn/tmp/deploy/server/Traxbahn/deploy/jca-ser
 vice.xml/52.jca-service.xml
 

RE: [JBoss-user] How to avoid entity beans read lock ?

2002-10-07 Thread Georg Schmid


Hi,

Take a look at the Instance Per Transaction CMP2.x configuration
settings in standarjboss.xml.
 o You can make your EBs use that configuration by setting the
configuration-name element in your jboss.xml.
 o You can mark your EB readonly.
 o You can mark certain methods of the EB read-only.

Look through the jboss.xml DTD.

Moreover, in JBoss3.0.3 there is a NoLock locking policy
(MethodOnlyEJBLock has been deprecated/removed in that release), as well
as a SimpleReadWriteEJBLock class, but I could not find any
documentation that (except the source code, of course).

Maybe this gives you a start.

Regards
Georg

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Horia
Muntean
Sent: Monday, October 07, 2002 11:19
To: [EMAIL PROTECTED]
Subject: [JBoss-user] How to avoid entity beans read lock ?


Hello all.

I am using A commit-option  on a Standard CMP EntityBean container.

I was wandering if there is any way to avoid the locking of the 
EB(entity beans) when one (i.e session bean) calls get* methods 
(read-only) upon them.

Any help would be appreciated.

Thanks.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf ___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Facing problem in connecting to Oracle using JBOSS with Tomcat

2002-10-07 Thread Gangadhar





Hi,

Iam trying to connect to Oracle 8.1.6 
database through JBOSS with Tomcat of version 3 and 4 
respectivelly.

Iam using only Session Beans without CMP/BMP.
Just calling my Database through the Session bean which internally talking 
to my DBManager class.

Will you please tell me the step by step procedure including the 
configuaration if required in JBOSS.

If you have a sample code that would be really nice.


Please reply to this mail ASAP.


Thanks  Regards

Gangadhar

DISCLAIMER
 ---
 This email message and any attachments is confidential and intended only for
 the use of an individual or entity named above and may contain information
 that is privileged, confidential or exempt from disclosure under applicable
 law.  If you are not the intended recipient, you are notified that any
 dissemination, distribution or copying of this email is strictly prohibited.
 If you have received this email in error, please notify us immediately by
 return email or [EMAIL PROTECTED] and destroy the original message.
 Opinions, conclusions, and other information in this message that do not
 relate to the official business of SPAN, shall be understood to be neither
 given nor endorsed by SPAN

Mails are Scanned and Filtered for Virus
[EMAIL PROTECTED]





Re: [JBoss-user] How to avoid entity beans read lock ?

2002-10-07 Thread Horia Muntean

Thanks, but there could be some problems , problems that are coming from 
the fact the my EBs are not RO entirely. They have update methods also.
So, here are my questions again:

1. I can't apply read-only to the entire bean 'cause I have other 
methods that perfom updates on the bean.

2. I took a look at jboss.dtd, jboss_3_0.dtd and jboss_2_4.dtd but all I 
could understand from here is that a read-only attribute can be 
applied only for the entire bean.
I saw in this mail list an example provided by  Bill Burke at 
http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg18814.html, 
but since in the jboss.dtd there are no entries related to 
method_attributes tags. Anyway, someone before be tried this solution 
and it seems it doesn't work: 
http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg19786.html

3. I saw Instance Per Transaction CMP 2.x EntityBean configuration in 
jboss-3.0.3 using 
locking-policyorg.jboss.ejb.plugins.lock.NoLock/locking-policy
What does that mean?
Is this the path to Optimistic locking implementation?
Does jboss keep DB consistency with this configuration (even if it could 
rollback TXs that are trying to commit modified data)?

4. I tryed to apply NotSupported TX attibute on all get* methods of my 
EB. But this doesn't seem to work either. My EB are locked during get* 
operations and in some circumstances   I get  DeadLock exceptions too. I 
solved the problem with facade beans that use only EBs get* methods, by 
declaring NotSupported TX for the facade method. In this way, every 
time an  EB get* method is called by the facade a new TX starts and that 
is OK.
But if in the facade method I want to use update methods of the EBs, I 
can't affort to set the TX to NotSupported cause I will loose the 
control  of the DB consistency.

Sory for talking to much. I just try to understand if I can get what I 
want from jboss or is the case to move on to other J2EE containers?

Thanks.


Georg Schmid wrote:

Hi,

Take a look at the Instance Per Transaction CMP2.x configuration
settings in standarjboss.xml.
 o You can make your EBs use that configuration by setting the
configuration-name element in your jboss.xml.
 o You can mark your EB readonly.
 o You can mark certain methods of the EB read-only.

Look through the jboss.xml DTD.

Moreover, in JBoss3.0.3 there is a NoLock locking policy
(MethodOnlyEJBLock has been deprecated/removed in that release), as well
as a SimpleReadWriteEJBLock class, but I could not find any
documentation that (except the source code, of course).

Maybe this gives you a start.

Regards
Georg
  




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] How to avoid entity beans read lock ?

2002-10-07 Thread Sacha Labourey

Could you please try the read-only tag at the method level, as described by
Bill. It does work. If it doesn't, it is a bug and it would be good to know
about it.

Cheers,


Sacha

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de Horia
 Muntean
 Envoyé : lundi, 7 octobre 2002 13:18
 À : [EMAIL PROTECTED]
 Objet : Re: [JBoss-user] How to avoid entity beans read lock ?


 Thanks, but there could be some problems , problems that are coming from
 the fact the my EBs are not RO entirely. They have update methods also.
 So, here are my questions again:

 1. I can't apply read-only to the entire bean 'cause I have other
 methods that perfom updates on the bean.

 2. I took a look at jboss.dtd, jboss_3_0.dtd and jboss_2_4.dtd but all I
 could understand from here is that a read-only attribute can be
 applied only for the entire bean.
 I saw in this mail list an example provided by  Bill Burke at
 http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg18
 814.html,
 but since in the jboss.dtd there are no entries related to
 method_attributes tags. Anyway, someone before be tried this solution
 and it seems it doesn't work:
 http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg19786.html

 3. I saw Instance Per Transaction CMP 2.x EntityBean configuration in
 jboss-3.0.3 using
 locking-policyorg.jboss.ejb.plugins.lock.NoLock/locking-policy
 What does that mean?
 Is this the path to Optimistic locking implementation?
 Does jboss keep DB consistency with this configuration (even if it could
 rollback TXs that are trying to commit modified data)?

 4. I tryed to apply NotSupported TX attibute on all get* methods of my
 EB. But this doesn't seem to work either. My EB are locked during get*
 operations and in some circumstances   I get  DeadLock exceptions too. I
 solved the problem with facade beans that use only EBs get* methods, by
 declaring NotSupported TX for the facade method. In this way, every
 time an  EB get* method is called by the facade a new TX starts and that
 is OK.
 But if in the facade method I want to use update methods of the EBs, I
 can't affort to set the TX to NotSupported cause I will loose the
 control  of the DB consistency.

 Sory for talking to much. I just try to understand if I can get what I
 want from jboss or is the case to move on to other J2EE containers?

 Thanks.


 Georg Schmid wrote:

 Hi,
 
 Take a look at the Instance Per Transaction CMP2.x configuration
 settings in standarjboss.xml.
  o You can make your EBs use that configuration by setting the
 configuration-name element in your jboss.xml.
  o You can mark your EB readonly.
  o You can mark certain methods of the EB read-only.
 
 Look through the jboss.xml DTD.
 
 Moreover, in JBoss3.0.3 there is a NoLock locking policy
 (MethodOnlyEJBLock has been deprecated/removed in that release), as well
 as a SimpleReadWriteEJBLock class, but I could not find any
 documentation that (except the source code, of course).
 
 Maybe this gives you a start.
 
 Regards
 Georg
 
 



 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Sporadic problem starting up, effects Jasper compilationof JSP pages - Solution

2002-10-07 Thread Jonathan . O'Connor

Sacha,
I am sure you are right. Windows File APIs are case insensitive. So, I 
presume what's happening is that JBoss via Java uses these APIs to open 
the first files. At some stage during deployment, JBoss takes a snapshot 
of the directory, and then does case sensitive searches over it. Then it 
complains. Just a bit confusing for me, but I don't think the code needs 
changing, just maybe the documentation.
Ciao,
Jonathan O'Connor
Ph: +353 1 872 3305
Mob: +353 86 824 9736
Fax: +353 1 873 3612





Sacha Labourey [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
07.10.2002 10:38
Please respond to jboss-user

 
To: [EMAIL PROTECTED]
cc: 
Subject:RE: [JBoss-user] Sporadic problem starting up, effects Jasper 
compilation 
of JSP pages - Solution


I am not sure this is a Windows issue: Windows didn't care about the case
wrt to the folder name. The only one doing this difference was the Java 
code
on top of it that was making strict comparison (IMHO)

Cheers,


 Sacha

 -Message d'origine-





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] How to avoid entity beans read lock ?

2002-10-07 Thread Dmitri Colebatch

It was me who tried that solution - and I had a lot of variables and I'm not
at all sure that it didn't work  (o:  but... while you're getting feedback
on it I might try and clarify my understanding.

I want(ed) to be able to have two transactions concurrently access a read
only entity.  I think where I went wrong is that I didn't change to the
instance per entity config.  I haven't been working on this since, but
would be interested to hear how you go on it.

cheers
dim

- Original Message -
From: Horia Muntean [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 07, 2002 9:18 PM
Subject: Re: [JBoss-user] How to avoid entity beans read lock ?


 Thanks, but there could be some problems , problems that are coming from
 the fact the my EBs are not RO entirely. They have update methods also.
 So, here are my questions again:

 1. I can't apply read-only to the entire bean 'cause I have other
 methods that perfom updates on the bean.

 2. I took a look at jboss.dtd, jboss_3_0.dtd and jboss_2_4.dtd but all I
 could understand from here is that a read-only attribute can be
 applied only for the entire bean.
 I saw in this mail list an example provided by  Bill Burke at

http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg18814.html,
 but since in the jboss.dtd there are no entries related to
 method_attributes tags. Anyway, someone before be tried this solution
 and it seems it doesn't work:
 http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg19786.html

 3. I saw Instance Per Transaction CMP 2.x EntityBean configuration in
 jboss-3.0.3 using
 locking-policyorg.jboss.ejb.plugins.lock.NoLock/locking-policy
 What does that mean?
 Is this the path to Optimistic locking implementation?
 Does jboss keep DB consistency with this configuration (even if it could
 rollback TXs that are trying to commit modified data)?

 4. I tryed to apply NotSupported TX attibute on all get* methods of my
 EB. But this doesn't seem to work either. My EB are locked during get*
 operations and in some circumstances   I get  DeadLock exceptions too. I
 solved the problem with facade beans that use only EBs get* methods, by
 declaring NotSupported TX for the facade method. In this way, every
 time an  EB get* method is called by the facade a new TX starts and that
 is OK.
 But if in the facade method I want to use update methods of the EBs, I
 can't affort to set the TX to NotSupported cause I will loose the
 control  of the DB consistency.

 Sory for talking to much. I just try to understand if I can get what I
 want from jboss or is the case to move on to other J2EE containers?

 Thanks.


 Georg Schmid wrote:

 Hi,
 
 Take a look at the Instance Per Transaction CMP2.x configuration
 settings in standarjboss.xml.
  o You can make your EBs use that configuration by setting the
 configuration-name element in your jboss.xml.
  o You can mark your EB readonly.
  o You can mark certain methods of the EB read-only.
 
 Look through the jboss.xml DTD.
 
 Moreover, in JBoss3.0.3 there is a NoLock locking policy
 (MethodOnlyEJBLock has been deprecated/removed in that release), as well
 as a SimpleReadWriteEJBLock class, but I could not find any
 documentation that (except the source code, of course).
 
 Maybe this gives you a start.
 
 Regards
 Georg
 
 



 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] NullPointerException with Jetty's deployer when distributable is set

2002-10-07 Thread Barlow, Dustin

Jules,

Do you have a status on this issue, or a bug ticket number that I can track?

Thanks,

Dustin

 -Original Message-
 From: Jules Gosnell [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 02, 2002 6:27 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] NullPointerException with Jetty's deployer
 when distributable i s set
 
 
 Thanks for spotting this.
 
 It looks like the ground shifted under my feet between releases.
 
 I'll get to this as soon as I have the time.
 
 
 Jules
 
 
 
 Barlow, Dustin wrote:
  I am running the tip version 3.2.0beta2 (did a cvs update 
 about 2 hours
  ago).  I am playing with the HttpSession clustering in 
 Jetty.  I deployed my
  test.ear file in the JBoss all target (I made a copy of 
 the all target
  and named it cluster1).  I changed none of the default 
 settings at all.
  The test.ear file contains a test.war file.  The test.war 
 file contains two
  jsp pages (test.jsp and test2.jsp) and one class (UserInfo) 
 that is used to
  store http session data and implements Serialiable.
  
  The ear file deploys and works just fine if I remove the 
 distributable tag
  from the web.xml file.  The ear file doesn't deploy when 
 the distributable
  tag is present because of NullPointerException.
  
  2002-10-02 14:23:34,376 ERROR 
 [org.jboss.deployment.MainDeployer] could not
  start deployment:
  
 file:/C:/java/jboss-3.2.0beta2/server/cluster1/tmp/deploy/serv
 er/cluster1/de
  ploy/test.ear/78.test.ear-contents/test.war
  org.jboss.deployment.DeploymentException: - nested throwable:
  (java.lang.NullPointerException)
  at org.jboss.jetty.Jetty.deploy(Jetty.java:434)
  at 
 org.jboss.jetty.JettyService.performDeploy(JettyService.java:243)
  at
  
 org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.
 java:302)
  at 
 org.jboss.deployment.MainDeployer.start(MainDeployer.java:812)
  at 
 org.jboss.deployment.MainDeployer.start(MainDeployer.java:804)
  at 
 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:624)
  at 
 org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
  at java.lang.reflect.Method.invoke(Native Method)
  at
  
 org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec
 tedMBeanDispat
  cher.java:284)
  at
  org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
  at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
  at $Proxy7.deploy(Unknown Source)
  at
  
 org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDe
 ploymentScanne
  r.java:392)
  at
  
 org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDepl
 oymentScanner.
  java:516)
  at
  
 org.jboss.deployment.scanner.AbstractDeploymentScanner$Scanner
 Thread.doScan(
  AbstractDeploymentScanner.java:187)
  at
  
 org.jboss.deployment.scanner.AbstractDeploymentScanner$Scanner
 Thread.loop(Ab
  stractDeploymentScanner.java:197)
  at
  
 org.jboss.deployment.scanner.AbstractDeploymentScanner$Scanner
 Thread.run(Abs
  tractDeploymentScanner.java:177)
   + nested throwable:
  
  Attached to this message is the server.log and the test.ear 
 file that i'm
  using for my tests.
  
  The context is /test and the two files under that context 
 are test.jsp and
  test2.jsp.  Test.jsp creates the UserInfo bean scoped at 
 the session level.
  Test2.jsp displays the information in the UserInfo class. 
  
  This behaviour occurs on both my W2K and Linux servers both 
 of which are
  running JDK 1.3.1_04-b2.
  
  Thanks for any tips,
  
  Dustin
 
 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss/Jetty: Realm Not Configured

2002-10-07 Thread David Ward

Scott,

Thanks for your reply.  Actually, there are no spaces in the real file. 
  I think my email client decided to add them in from my copy/paste 
(tried to format it).  I know that sounds weird, but I've seen it happen 
before.

Any other ideas?

Thanks again,
David

--

Scott M Stark wrote:
application-policy name = docs
 
 
 This has a space between the leading quote mark and docs, as do
 several other attributes in this config. Check this config against to
 see that is not causing the problem.
 
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 
 - Original Message - 
 From: David Ward [EMAIL PROTECTED]
 To: JBoss-user [EMAIL PROTECTED]
 Sent: Friday, October 04, 2002 1:08 PM
 Subject: [JBoss-user] JBoss/Jetty: Realm Not Configured
 
 
 
I have an app that works great with jboss-2.4.3_tomcat-3.2.3, but I 
can't get it to work with jboss-3.0.3 (w/ integrated Jetty).  It has a 
secure area that when I access it via a web browser, I get:

HTTP ERROR: 500 Realm Not Configured
RequestURI=/docs/sweb/david_cust/david_site/PrintItSimple

Again, this worked in jboss-2.4.3_tomcat-3.2.3, though of course the 
config files are slightly different now.

login-config.xml:

application-policy name = docs
   authentication
 login-module code = org.jboss.security.auth.spi.ProxyLoginModule 
flag = required /
 module-option 
name=moduleNamecorp.docs.security.DOCSLoginModule/module-option
 module-option name = dsJndiNamejava:/DocsDS/module-option
   /authentication
/application-policy

DOCSLoginModule.class is in a jar file in server/default/lib/.

jboss-web.xml:

security-domainjava:/jaas/docs/security-domain

web.xml:

security-constraint
   web-resource-collection
 web-resource-nameSecure WebDOCS/web-resource-name
 url-pattern/sweb/*/url-pattern
   /web-resource-collection
   auth-constraint
 role-nameDEFAULT/role-name
   /auth-constraint
/security-constraint

Non secure areas of the app work fine.

Thanks for the help,
David
 
 



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Problem in connecting to oracle in JBOSS with Tomcat

2002-10-07 Thread Gangadhar




Hi All,

I found in some of the sites/forums that we 
need to add some info in JBOSS.JCML file which i could not find in my JBOSS 
installed directory which i have downloaded from www.jboss.org. 
(jboss-3.0.0_tomcat-4.0.3)


Hence i copied this fiel from some examples 
and copied uner server/default/deploy directory

Please let me know what am i doing wrong 
here

Please consider the 
followinginformation for your input.

JBOSS 3.0 with Tomcat 4.0.3
Database : Oracle 
8.1.6
Database Name : 
DBNAME
USERID : 
UserId
PASSWORD: 
Password


Thanks  Regards
Gangadhar


- Original Message - 
From: Gangadhar 
To: "JBoss User" 
Sent: Monday, October 07, 2002 4:24 PM
Subject: Facing problem in connecting to Oracle using JBOSS with 
Tomcat



Hi,

Iam trying to connect to Oracle 8.1.6 
database through JBOSS with Tomcat of version 3 and 4 
respectivelly.

Iam using only Session Beans without CMP/BMP.
Just calling my Database through the Session bean which internally talking 
to my DBManager class.

Will you please tell me the step by step procedure including the 
configuaration if required in JBOSS.

If you have a sample code that would be really nice.


Please reply to this mail ASAP.


Thanks  Regards

Gangadhar

DISCLAIMER
 ---
 This email message and any attachments is confidential and intended only for
 the use of an individual or entity named above and may contain information
 that is privileged, confidential or exempt from disclosure under applicable
 law.  If you are not the intended recipient, you are notified that any
 dissemination, distribution or copying of this email is strictly prohibited.
 If you have received this email in error, please notify us immediately by
 return email or [EMAIL PROTECTED] and destroy the original message.
 Opinions, conclusions, and other information in this message that do not
 relate to the official business of SPAN, shall be understood to be neither
 given nor endorsed by SPAN

Mails are Scanned and Filtered for Virus
[EMAIL PROTECTED]





RE: [JBoss-user] Problem in connecting to oracle in JBOSS with Tomcat

2002-10-07 Thread saroj kumar
Title: Message



you 
need to use ORACLE-SERVICE.xml .

copy 
from docs\examples\jca

and 
modify the IP and UID/pwd

-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] On Behalf Of 
GangadharSent: Monday, October 07, 2002 2:16 PMTo: 
[EMAIL PROTECTED]Subject: [JBoss-user] Problem in 
connecting to oracle in JBOSS with Tomcat

Hi All,

I found in some of the sites/forums that we 
need to add some info in JBOSS.JCML file which i could not find in my JBOSS 
installed directory which i have downloaded from www.jboss.org. 
(jboss-3.0.0_tomcat-4.0.3)


Hence i copied this fiel from some examples 
and copied uner server/default/deploy directory

Please let me know what am i doing wrong 
here

Please consider the 
followinginformation for your input.

JBOSS 3.0 with Tomcat 4.0.3
Database : Oracle 
8.1.6
Database Name : 
DBNAME
USERID : 
UserId
PASSWORD: 
Password


Thanks  Regards
Gangadhar


- Original Message - 
From: Gangadhar 
To: "JBoss User" 
Sent: Monday, October 07, 2002 4:24 PM
Subject: Facing problem in connecting to Oracle using JBOSS with 
Tomcat



Hi,

Iam trying to connect to Oracle 8.1.6 
database through JBOSS with Tomcat of version 3 and 4 
respectivelly.

Iam using only Session Beans without CMP/BMP.
Just calling my Database through the Session bean which internally talking 
to my DBManager class.

Will you please tell me the step by step procedure including the 
configuaration if required in JBOSS.

If you have a sample code that would be really nice.


Please reply to this mail ASAP.


Thanks  Regards

GangadharDISCLAIMER
 ---
 This email message and any attachments is confidential and intended only for
 the use of an individual or entity named above and may contain information
 that is privileged, confidential or exempt from disclosure under applicable
 law.  If you are not the intended recipient, you are notified that any
 dissemination, distribution or copying of this email is strictly prohibited.
 If you have received this email in error, please notify us immediately by
 return email or [EMAIL PROTECTED] and destroy the original message.
 Opinions, conclusions, and other information in this message that do not
 relate to the official business of SPAN, shall be understood to be neither
 given nor endorsed by SPAN

Mails are Scanned and Filtered for Virus
[EMAIL PROTECTED]




RE: [JBoss-user] Problem in connecting to oracle in JBOSS with Tomcat

2002-10-07 Thread Geer, Benjamin

Gangadhar wrote:
 I found in some of the sites/forums that we need to add some info in
JBOSS.JCML
 file which i could not find in my JBOSS installed directory which i
have downloaded
 from www.jboss.org. (jboss-3.0.0_tomcat-4.0.3)

jboss.jcml is not used in JBoss 3; it was used in older versions of
JBoss.  See docs/examples/jca, in your JBoss installation directory, for
sample configuration files for various databases.

Benjamin



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Entity Bean in a sar that depends upon mqSqlDS...

2002-10-07 Thread Alan Yost

Guys - I have battled thru a few dependency issues regarding ears and jars and sars, 
though this one I have left for a while but now is the time for me to resolve it.
 
If I deploy my two ears and a sar (man what language is this anyway :-)) once JBoss 
3.0.2 is running everything is ok.
 
However, if I restart JBoss with them in the deploy directory then I get a problem 
with the sar file.  The sar file includes an entity bean that persists some data 
associated with a timer that is also in the sar file.  
 
The entity bean persists to a mySQL database using CMP 2.0 and the problem I get is 
that the entity bean fails to deploy because it cannot find the data source 
java:/MySqlDS.  I suspect that this is getting loaded later and that I may be able to 
use some form of dependency tags to sort this out.  I just don't know if or where 
these tags should exist.  Or if there is some other standard way of resolving the 
problem.
 
I have started reading the paid for documentation but it looks like I have a lot of 
reading and I figured somebody in this group may be able to point me in the right 
direction.
 
 
Any help out there?
 
 
Regards and thanks in advance
 
 
Alan.

winmail.dat

[JBoss-user] RE: Entity Bean in a sar that depends upon mqSqlDS...

2002-10-07 Thread Sacha Labourey
Title: Re: [JBoss-user] JBoss/Jetty: Realm Not Configured



hello,

you 
could put your SAR inside the EAR instead of the opposite. Otherwise, you can 
define depends tag inside jboss.xml so that EJB can wait for some 
services to start. For an example, take a look at 
server/all/deploy/jbossha-httpsession.sar: it uses such a 
trick.

Cheers,

 
Sacha

  -Message d'origine-De: Alan Yost 
  [mailto:[EMAIL PROTECTED]]De la part de Alan 
  YostEnvoyé: lundi, 7 octobre 2002 16:16À: 
  [EMAIL PROTECTED]Objet: Entity Bean in a sar 
  that depends upon mqSqlDS...
  Guys - I have battled thru a few dependency issues regarding 
  ears and jars and sars, though this one I have left for a while but now is the 
  time for me to resolve it.
  
  If I deploy my two ears and a sar (man what language is this 
  anyway :-)) once JBoss 3.0.2 is running everything is ok.
  
  However, if I restart JBoss with them in the deploy 
  directory then I get a problem with the sar file. The sar file 
  includesan entity bean that persists some data associated with a timer 
  that is also in the sar file. 
  
  The entity bean persists to a mySQL database using CMP 2.0 
  and the problem I get is that the entity bean fails to deploy because it 
  cannot find the data source java:/MySqlDS. I suspect that this is 
  getting loaded later and that I may be able to use some form of dependency 
  tags to sort this out. I just don't know if or where these tags should 
  exist. Or if there is some other standard way of resolvingthe 
  problem.
  
  I have started reading the paid for documentation but it 
  looks like I have a lot of reading and I figured somebody in this group may be 
  able to point me in the right direction.
  
  
  Any help out there?
  
  
  Regards and thanks in advance
  
  
  Alan.
attachment: winmail.dat

[JBoss-user] CMP relations and remote interfaces

2002-10-07 Thread Dannemann, Björn



Hi specialists:-)
is it right that Entity beans that have relations must be local?
If yes, what is the best way to access them from remote client
applications(like my testclass) ?

Maybe: 
- a Session bean as fasade ?
- xdoclet view-type=both ???

What is your best practice in this case ??

1000 Thanx
Bjoern


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Entity Bean in a sar that depends upon mqSqlDS...

2002-10-07 Thread Jonathan . O'Connor

Alan,
Here's my jboss-service.xml:
?xml version=1.0 encoding=UTF-8?

server
mbean code=xcom.traxbahn.system.TraxbahnManagement 
name=TIPS:service=TraxbahnManager
dependsjboss.jca:service=LocalTxDS,name=TraxbahnDB/depends
dependsjboss.j2ee:service=EJB,jndiName=ejb/CurrencyBc/depends
dependsjboss.j2ee:service=EJB,jndiName=ejb/AccountBc/depends
dependsjboss.j2ee:service=EJB,jndiName=ejb/CardBc/depends
/mbean
/server

We use oracle and we renamed the data source to our own: TraxbahnDB. It 
now seems a terrible name, but a year ago, it seemed quite a good idea :-)

I had a couple of problems with my MBean when it was not packaged inside 
my EAR. But these were probably due to bugs in 3.0.0
Currently, I have our SAR inside the EAR. It seems to be tidier this way. 
Of course, if you are changing the SAR lots of times, then you should 
leave it outside.
Ciao,
Jonathan O'Connor
Ph: +353 1 872 3305
Mob: +353 86 824 9736
Fax: +353 1 873 3612




Alan Yost [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
07.10.2002 15:15
Please respond to jboss-user

 
To: [EMAIL PROTECTED]
cc: 
Subject:[JBoss-user] Entity Bean in a sar that depends upon mqSqlDS...


Guys - I have battled thru a few dependency issues regarding ears and jars 
and sars, though this one I have left for a while but now is the time for 
me to resolve it.
 
If I deploy my two ears and a sar (man what language is this anyway :-)) 
once JBoss 3.0.2 is running everything is ok.
 
However, if I restart JBoss with them in the deploy directory then I get a 
problem with the sar file.  The sar file includes an entity bean that 
persists some data associated with a timer that is also in the sar file. 
 
The entity bean persists to a mySQL database using CMP 2.0 and the problem 
I get is that the entity bean fails to deploy because it cannot find the 
data source java:/MySqlDS.  I suspect that this is getting loaded later 
and that I may be able to use some form of dependency tags to sort this 
out.  I just don't know if or where these tags should exist.  Or if there 
is some other standard way of resolving the problem.
 
I have started reading the paid for documentation but it looks like I have 
a lot of reading and I figured somebody in this group may be able to point 
me in the right direction.
 
 
Any help out there?
 
 
Regards and thanks in advance
 
 
Alan.





winmail.dat
Description: Binary data


[JBoss-user] Deploy without auto-start?

2002-10-07 Thread Callies, Peter

Is it possible to deploy a service without having it automatically start
when JBoss is started?

Peter Callies
McKesson Information Solutions
Transaction Solutions Hub
mailto:[EMAIL PROTECTED]
Phone: (952) 814-7163

Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Deploy without auto-start?

2002-10-07 Thread Sacha Labourey

hello,

no, not really. Or implement an empty startService method and implement a
new one, that is not part of the service lifecycle interface such as
reallyStartService.

Thus, you service will be deployed, created but not started (because of your
empty implementation). When you want to start, call *your*
reallyStartService method.

Cheers,


Sacha

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de Callies,
 Peter
 Envoyé : lundi, 7 octobre 2002 17:53
 À : '[EMAIL PROTECTED]'
 Objet : [JBoss-user] Deploy without auto-start?


 Is it possible to deploy a service without having it automatically start
 when JBoss is started?

 Peter Callies
 McKesson Information Solutions
 Transaction Solutions Hub
 mailto:[EMAIL PROTECTED]
 Phone: (952) 814-7163

 Confidentiality Notice: This e-mail message, including any attachments, is
 for the sole use of the intended recipient(s) and may contain confidential
 and privileged information.  Any unauthorized review, use, disclosure or
 distribution is prohibited.  If you are not the intended recipient, please
 contact the sender by reply e-mail and destroy all copies of the original
 message.




 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] CMP relations and remote interfaces

2002-10-07 Thread Ingo Bruell

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Dannemann, Björn,

DB is it right that Entity beans that have relations must be local?
DB If yes, what is the best way to access them from remote client
DB applications(like my testclass) ?

DB Maybe:
DB - a Session bean as fasade ?
DB - xdoclet view-type=both ???

DB What is your best practice in this case ??
I prefer Session beans as facade


best regards

Ingo Bruell

- ---
[EMAIL PROTECTED]
[EMAIL PROTECTED]
ICQ# 40377720
OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
Germany  PGP-Public-Key available at pgpkeys.mit.edu

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQA/AwUBPaGgSY/nxkgWnuX8EQKgZACff8ZR13EsSIW5/VC3YqNwiDsYNk4AoNvp
8s9g4bp4ek1RQSU4/CoFeRx8
=SLjQ
-END PGP SIGNATURE-




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Help!!!: Redeploy problem

2002-10-07 Thread Gene Ge

Hello everyone:
I really need your help and thanks at first!
When I redeploy a war archive to server(which I have to
do very frequently every day), using a ant's ftp task to transfer my war to
the server, the server always gave following errors:

!Error Message Begin
2002-10-05 16:21:47,109 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy:
org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1a8591eb{
url=file:/D:/Projects/jboss-3.0.1/server/default/deploy/BitJob.war,
deployedLastModified=1033805851250 }
org.jboss.deployment.DeploymentException: Could not create deployment:
file:/D:/Projects/jboss-3.0.1/server/default/deploy/BitJob.war; - nested
throwable: (java.lang.InternalError: jzentry == 0,
jzfile = 194428400,
total = 11,
name = C:\Documents and Settings\Administrator\Local
Settings\Temp\Jetty__8080___\webapp\WEB-INF\lib\jobUnitTest.jar,
i = 10,
message = invalid LOC header (bad signature))
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:816)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at

org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy4.deploy(Unknown Source)
at

org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:427)
at

org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:553)
at

org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:202)at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:191)
Caused by: java.lang.InternalError: jzentry == 0,
jzfile = 194428400,
total = 11,
name = C:\Documents and Settings\Administrator\Local
Settings\Temp\Jetty__8080___\webapp\WEB-INF\lib\jobUnitTest.jar,
i = 10,
message = invalid LOC header (bad signature)
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:303)
at java.util.jar.JarFile$1.nextElement(JarFile.java:200)
at

org.apache.jasper.compiler.TldLocationsCache.tldConfigJar(TldLocationsCache.
java:238)
at

org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.j
ava:211)
at

org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:1
39)
at

org.apache.jasper.EmbededServletOptions.init(EmbededServletOptions.java:35
0)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:208)
at

org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j
ava:427)
at

org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.
java:405)
at org.jboss.jetty.Jetty.deploy(Jetty.java:409)
at org.jboss.jetty.JettyService.performDeploy(JettyService.java:243)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:796)
... 13 more
--Error Message End
These message would gone when I restart server(and it works well),
obviously
it's impossible for me to restart every time.

What I did, which I think rising these errors, is just add one my custom
jar
archive, which only includs some junit test classes, in my applications'
WEB-INF/lib.

So thank for anyone giving me some ideas. I was really in the trouble.

best regards
Gene


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Deploy without auto-start?

2002-10-07 Thread Greg Turner

A better way to think of the problem is that if you have some code you don't
want started automatically when JBoss starts, don't put the code in the start
method.  Make your own method, called say, startLater(), and then you can call
that method when you want.



Callies, Peter wrote:

 Is it possible to deploy a service without having it automatically start
 when JBoss is started?

 Peter Callies
 McKesson Information Solutions
 Transaction Solutions Hub
 mailto:[EMAIL PROTECTED]
 Phone: (952) 814-7163

 Confidentiality Notice: This e-mail message, including any attachments, is
 for the sole use of the intended recipient(s) and may contain confidential
 and privileged information.  Any unauthorized review, use, disclosure or
 distribution is prohibited.  If you are not the intended recipient, please
 contact the sender by reply e-mail and destroy all copies of the original
 message.

 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user

--
Greg Turner, JBoss Authorized Consultant

Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-927-2543





---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Help!!!: Redeploy problem

2002-10-07 Thread Vladyslav Kosulin

Gene Ge wrote:
 Hello everyone:
I really need your help and thanks at first!
When I redeploy a war archive to server(which I have to
 do very frequently every day), using a ant's ftp task to transfer my war to
 the server, the server always gave following errors:
 
 !Error Message Begin
 2002-10-05 16:21:47,109 ERROR
 [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy:
 org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1a8591eb{
 url=file:/D:/Projects/jboss-3.0.1/server/default/deploy/BitJob.war,
 deployedLastModified=1033805851250 }
 org.jboss.deployment.DeploymentException: Could not create deployment:
 file:/D:/Projects/jboss-3.0.1/server/default/deploy/BitJob.war; - nested
 throwable: (java.lang.InternalError: jzentry == 0,
 jzfile = 194428400,
 total = 11,
 name = C:\Documents and Settings\Administrator\Local
 Settings\Temp\Jetty__8080___\webapp\WEB-INF\lib\jobUnitTest.jar,
 i = 10,
 message = invalid LOC header (bad signature))

J had the similar problem after I modify existing archive without 
creating the new from scratch. What archiver do you use? It _must_ be 
jar to avoid such messages.
Vlad.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Re: A question about Mail Service--not solved yet!

2002-10-07 Thread Gene Ge

thanks to Dmitri and Stephen

but it is not solved yet so I need more help.

I have had a valid account in the mail server and I know i can input my 
usernamepassword in a mail application such as outlook to make it work.
What is bothering me is I don't know where I can put my usernamepassword 
when I use Mail Service of Jboss. Or something else I don't know?

thanks for your help again.

Gene

- Original Message -
dem wrote:

You will need to point it at a mail server that allows mail relaying from
your network.  Try using the same host that you use for sending mail in your
mail client (outlook etc).

cheers
dim

- Original Message -
From: Gene Ge [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 07, 2002 1:09 PM
Subject: [JBoss-user] A questin about Mail Service


hello every:
   Thanks for your help!
   I am trying to use Mail Service to send email. I did some configuration
first such as set mail.pop3.host=pop.aaa.net
mail.smtp.host=smtp.aaa.net
etc. in the /server/deploy/mail-service.xml file.
   The problem is: I found my program can only send mail to any address
with
the same domain name of mail.smtp.host property. For example, if I set
mail.smtp.host=smtp.163.com(a mail server in my country), I would only can
send mail to [EMAIL PROTECTED] or [EMAIL PROTECTED], and addresses as [EMAIL PROTECTED]
are told invalid email address.

!Error Message---
11:02:37,062 ERROR [STDERR] javax.mail.SendFailedException: Sending
failed;
   nested exception is:
 javax.mail.SendFailedException: Invalid Addresses;
   nested exception is:
 javax.mail.SendFailedException: 554 [EMAIL PROTECTED]:
Recipient address rejected: Relay access denied
-
I'm not sure whether it because the smtp server need a authentication. I
had
set all properties in mail-service.xml include username and password but
it
seemed it didn't take effect. So I think maybe I need more configuration.
Anyone can give me some hints? Thank you first.

Best Regards
Gene


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] CMP relations and remote interfaces

2002-10-07 Thread Markus Garscha

Hi!

i asked the same question a few days ago, but no useful answer. i try to
design an application with some 1:N and N:M relations. i want to access
the buissnes-logic by remote interfaces... none here how could give
some advice? i'm so happy you've got the same problem. :)

so far
markus

* Dannemann, Björn [EMAIL PROTECTED] [2002-10-07 17:54]:
 
 
 Hi specialists:-)
 is it right that Entity beans that have relations must be local?
 If yes, what is the best way to access them from remote client
 applications(like my testclass) ?
 
 Maybe: 
 - a Session bean as fasade ?
 - xdoclet view-type=both ???
 
 What is your best practice in this case ??
 
 1000 Thanx
 Bjoern
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



msg21923/pgp0.pgp
Description: PGP signature


Re: [JBoss-user] Help!!!: Redeploy problem

2002-10-07 Thread Greg Turner

When JBoss hot deploys something, it makes a copy into tmp and actually deploys
the copy in tmp.  I am guessing that what happens is that when ftp starts
writing the file to the deploy directory, JBoss starts copying it to tmp before
ftp is done writing, therefore putting an incomplete copy in tmp, so JBoss tries
to deploy an incomplete and corrupt file.

Here is two remedies:  Instead of ftp the file from A to JBoss, set JBoss to
deploy from A.
Alternatively, use the jmx console to turn off hot deploy, then ftp the file,
then turn on hot deploy.



Gene Ge wrote:

 Hello everyone:
 I really need your help and thanks at first!
 When I redeploy a war archive to server(which I have to
 do very frequently every day), using a ant's ftp task to transfer my war to
 the server, the server always gave following errors:

 !Error Message Begin
 2002-10-05 16:21:47,109 ERROR
 [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy:
 org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1a8591eb{
 url=file:/D:/Projects/jboss-3.0.1/server/default/deploy/BitJob.war,
 deployedLastModified=1033805851250 }
 org.jboss.deployment.DeploymentException: Could not create deployment:
 file:/D:/Projects/jboss-3.0.1/server/default/deploy/BitJob.war; - nested
 throwable: (java.lang.InternalError: jzentry == 0,
 jzfile = 194428400,
 total = 11,
 name = C:\Documents and Settings\Administrator\Local
 Settings\Temp\Jetty__8080___\webapp\WEB-INF\lib\jobUnitTest.jar,
 i = 10,
 message = invalid LOC header (bad signature))
 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:816)
 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
 at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
 at

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at

 org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
 cher.java:284)
 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
 at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
 at $Proxy4.deploy(Unknown Source)
 at

 org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
 r.java:427)
 at

 org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
 java:553)
 at

 org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
 stractDeploymentScanner.java:202)at
 org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
 tractDeploymentScanner.java:191)
 Caused by: java.lang.InternalError: jzentry == 0,
 jzfile = 194428400,
 total = 11,
 name = C:\Documents and Settings\Administrator\Local
 Settings\Temp\Jetty__8080___\webapp\WEB-INF\lib\jobUnitTest.jar,
 i = 10,
 message = invalid LOC header (bad signature)
 at java.util.zip.ZipFile$2.nextElement(ZipFile.java:303)
 at java.util.jar.JarFile$1.nextElement(JarFile.java:200)
 at

 org.apache.jasper.compiler.TldLocationsCache.tldConfigJar(TldLocationsCache.
 java:238)
 at

 org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.j
 ava:211)
 at

 org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:1
 39)
 at

 org.apache.jasper.EmbededServletOptions.init(EmbededServletOptions.java:35
 0)
 at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
 at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:208)
 at

 org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j
 ava:427)
 at

 org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.
 java:405)
 at org.jboss.jetty.Jetty.deploy(Jetty.java:409)
 at org.jboss.jetty.JettyService.performDeploy(JettyService.java:243)
 at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:796)
 ... 13 more
 --Error Message End
 These message would gone when I restart server(and it works well),
 obviously
 it's impossible for me to restart every time.

 What I did, which I think rising these errors, is just add one my custom
 jar
 archive, which only includs some junit test classes, in my applications'
 WEB-INF/lib.

 So thank for anyone giving me some ideas. I was really in the trouble.

 best regards
 Gene

 _
 Chat with friends online, try MSN Messenger: http://messenger.msn.com

 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user

--
Greg Turner, JBoss Authorized Consultant

Tiburon Enterprise 

[JBoss-user] MBeans, EJBConnector, and Security

2002-10-07 Thread James Higginbotham
Title: Message




All,

I am deploying 
an mbean manually using the EJBConnector from a Web startup hook (not via a .sar file or *-service.xml file). I 
have to initialize the current thread with a user id and password to communicate 
with another EJB at the same time. I'm getting the followingsecurity exceptions, attached below. What is the appropriate 
method of solving this problem within JBoss? Can I declare this EJB adapter to 
use my JAAS realm, or is it an mbean security 
issue, or ??? Ifits an EJBConnector issue, where does the EJB 
live? I haven't seen anything about this in the 
pay for docs, which we just picked up (which are awesome, and well worth the $$, 
BTW). 

Thanks,
James

With a login context:

 
[spawn] [java] 10:55:18,534 ERROR [StartupService] 
Error during execution of the startup class 
com.betweenmarkets.startup.impl.InitMBeans 
[spawn] [java] 
com.betweenmarkets.startup.StartupException: Error trying to get MBean Server 
[nested message: Adaptor could not be created: checkSecurityAssociation; nested 
exception is: [spawn] 
[java] 
java.lang.SecurityException: Authentication exception, 
principal=Administrator] 
[spawn] [java] Nested 
exception: [spawn] [java] 
java.lang.IllegalArgumentException: Adaptor could not be created: 
checkSecurityAssociation; nested exception is: 
[spawn] 
[java] 
java.lang.SecurityException: Authentication exception, 
principal=Administrator 
[spawn] 
[java] at 
org.jboss.jmx.connector.ejb.EJBConnector.init(EJBConnector.java:114) 
[spawn] 
[java] at 
com.betweenmarkets.mbean.JBossMBeanAgent.getMBeanServer(JBossMBeanAgent.java:95) 
[spawn] 
[java] at 
com.betweenmarkets.startup.impl.InitMBeans.getMBeanServer(InitMBeans.java:68) 
[spawn] 
[java] at 
com.betweenmarkets.startup.impl.InitMBeans.start(InitMBeans.java:43) 
[spawn] 
[java] at 
com.betweenmarkets.startup.StartupService.startup(StartupService.java:58) 
[spawn] 
[java] at 
com.betweenmarkets.startup.web.WebStartupAdapter$StartupThread.run(WebStartupAdapter.java:37) 
[spawn] 
[java] at 
com.betweenmarkets.startup.web.WebStartupAdapter.contextInitialized(WebStartupAdapter.java:21) 
[spawn] 
[java] at 
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:430) 
[spawn] 
[java] at 
org.jboss.jetty.Jetty.deploy(Jetty.java:405) 
[spawn] 
[java] at 
org.jboss.jetty.JettyService.performDeploy(JettyService.java:244) 
[spawn] 
[java] at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300) 
[spawn] 
[java] at 
org.jboss.deployment.MainDeployer.start(MainDeployer.java:678) 
[spawn] 
[java] at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513) 
[spawn] 
[java] at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481) 
[spawn] 
[java] at 
java.lang.reflect.Method.invoke(Native Method) 
[spawn] 
[java] at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) 
[spawn] 
[java] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) 
[spawn] 
[java] at 
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) 
[spawn] 
[java] at $Proxy4.deploy(Unknown 
Source) [spawn] 
[java] at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:405) 
[spawn] 
[java] at 
org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:586) 
[spawn] 
[java] at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:465) 
[spawn] 
[java] at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:237) 
[spawn] 
[java] at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162) 
[spawn] 
[java] at 
java.lang.reflect.Method.invoke(Native Method) 
[spawn] 
[java] at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) 
[spawn] 
[java] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) 
[spawn] 
[java] at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:894) 
[spawn] 
[java] at $Proxy0.start(Unknown 
Source) [spawn] 
[java] at 
org.jboss.system.ServiceController.start(ServiceController.java:340) 
[spawn] 
[java] at 
java.lang.reflect.Method.invoke(Native Method) 
[spawn] 
[java] at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) 
[spawn] 
[java] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) 
[spawn] 
[java] at 
org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) 
[spawn] 
[java] at $Proxy3.start(Unknown 
Source) [spawn] 
[java] at 
org.jboss.deployment.SARDeployer.start(SARDeployer.java:243) 
[spawn] 
[java] at 
org.jboss.deployment.MainDeployer.start(MainDeployer.java:678) 
[spawn] 
[java] at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513) 
[spawn] 
[java] at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481) 
[spawn] 
[java] at 

[JBoss-user] FYI: the website www.jboss.org has a problem in the opera browser

2002-10-07 Thread Andreas Mecky

Hi,

I just wanna tell you the the menu bar on the left side looks ugly
in opera6. Seems to be a little problem with the HTML since it
looks good in my M$-explorer (which I try not to use).

WBR

Andreas

__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Initializing JDBC Connection II

2002-10-07 Thread David Jencks

On org.jboss.resource.adapter.jdbc.local.LocalConnection in 3.0.x and 3.2

david jencks

On 2002.10.05 09:53:59 -0400 [EMAIL PROTECTED] wrote:
 
 Hi David.
 
 Thank you very much for your help.
 But I still have a little problem - do you mean method
 getUnderlyingConnection on tyrex.resource.jdbc.xa.TyrexConnection
 instance
 ? But it has a private access.
 
 
 More details :
 
 On JBoss 2.4 I used something like this :
 
 //Restoring connection from pool
 dataSource = (DataSource)ServiceLocator.getServiceLocator
 ().getJndiService(jndiDataSourceName);
 connection = dataSource.getConnection();
 
 //Setting  NLS ...
 setConnectionParams(result);
 
 where :
 
 dataSource is instance of javax.sql.DataSource
 connection is instance of java.sql.Connection
 
 and setConnectionParams performs setting NLS_LANGUAGE, NLS_TERRITORY and
 NLS_SORT, NLS_DATE_FORMAT on the restored connection.
 
 
 In previous JBoss version it worked OK, but now it doesn't.
 
 
 Thank you.
 
 Marek
 
 
 
 
 
  
   
 David Jencks 
   
 davidjencks@directvinternetTo:
 [EMAIL PROTECTED]
 .com   cc: (bcc:
 Marek Sedliak/BYS/SOFTIP) 
 Sent by:Subject: Re:
 [JBoss-user] Initializing JDBC Connection II   
 [EMAIL PROTECTED] 
   
 eforge.net   
   
  
   
  
   
 05.10.2002 13:45 
   
 Please respond to jboss-user 
   
  
   
  
   
 
 
 
 
 If you are doing this on a connection by connection basis, you would need
 to get the underlying connection
 
 OracleConnection oc = (OracleConnection)c.getUnderlyingConnection();
 
 If this isn't what you want provide more details.
 
 david jencks
 
 On 2002.10.05 06:53:41 -0400 [EMAIL PROTECTED] wrote:
  Hi all,
 
  please, I would like to ask you about initializing JDBC connection  - 
 I
  mean, I need to set up a few connection params that are application
  specific, e.g. for ORACLE  - NLS_LANGUAGE, NLS_TERRITORY and NLS_SORT,
  NLS_DATE_FORMAT. I have found in the archive it's a problem now. In
 JBoss
  2.4 it worked after getting the connection from the pool. In JBoss 3.0
 it
  doesn't.
  Please, is there any correct way how to set up these params ?
 
  Thanks a lot.
 
  Marek
 
 
 
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Jboss on WIN2000

2002-10-07 Thread Marius Kotsbak

Alwyn Schoeman wrote:

Have anyone tried the 2.5 series kernels? I hear that there is some
major threading changes there...

Isnt't 2.5 dangerous to use in production? If it is to be tested, I 
think you have to use it on a PC where you have nothing valuable.


On Fri, Oct 04, 2002 at 06:43:32AM -0500, Stephen Davidson wrote:
  

Greetings.

I have been getting more than adequate performance on some boxes running Linux 
2.4.10  2.4.18.  The 2.4.18 does appear to be somewhat faster.  I have not had a 
chance to run a full load test on it
yet, however.

The CPUs are 1.2Ghz AMDs, with 1.5GB 133Mhz SDRam.

You did tune your kernels, though, right?  By default, the Linux kernels only allow 
64 threads/process, and I think it was 1024 processes system.  And under these 
defaults, JBoss has a limit of about
200 users, after which performance nose dives and stability degrades.

For your convenience, I have attached a document for what we did to boost our 
threading capabilities.  I would be interested to here how it works for you.

-Steve










---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] FYI: the website www.jboss.org has a problem inthe opera browser

2002-10-07 Thread Marius Kotsbak

The reason is probably in this list of errors:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.jboss.orgcharset=%28detect+automatically%29doctype=Inline

Why isn't you following the standards? When it is fixed, you will get a 
html-chunck to insert to prove it is html-compatible :-)

And why running the server on windows??? It defintially is not a server 
os. I thought you that promote open source would like to use it 
yourself?
(I even see that you are using IE, outlook and MS word! The most closed 
source software that you can find! Hints: linux, mozilla.org, 
openoffice.org, evolution)

Andreas Mecky wrote:

Hi,

I just wanna tell you the the menu bar on the left side looks ugly
in opera6. Seems to be a little problem with the HTML since it
looks good in my M$-explorer (which I try not to use).

WBR

Andreas

__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
  






---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] [Fwd: Announcing Axis 1.0!]

2002-10-07 Thread David Ward

FYI for Dr. Jung and others interested in JBoss.net stuff...

---BeginMessage---

I'm pleased to announce the Apache SOAP engine known as Axis just had 
it's first release.  Performance, interoperability, and JAX RPC 
compliance have been significant focuses of this effort.  You can 
download it at http://xml.apache.org/axis/dist/1_0/.

- Sam Ruby


---End Message---


[JBoss-user] [OT] can't run xdoclet ;(

2002-10-07 Thread Markus Garscha

Hi!

what's wrong? 
---8--
gama@ws:~/prog/java/jboss$ ant xdoclet
Buildfile: build.xml

init:

xdoclet:

BUILD FAILED

/home/gama/prog/java/jboss/build.xml:54: taskdef class
xdoclet.ejb.EjbDocletTask cannot be found

Total time: 1 second
---8--

but xdoclet.jar is in the classpass! 
i attached the build.xml at this email...

thanx
markus




?xml version=1.0?


project name=adr default=app basedir=.
   !-- INIT --
   target name=init
 tstamp/
  
 path id=classpath.path
   pathelement location=${classes}/
   fileset dir=lib
 include name=*.jar/
   /fileset
 /path

 property name=project value=adr /
 
 property name=build location=build /
 property name=conf location=conf /
 property name=classes location=${build}/classes /
 property name=doc location=${build}/doc /
 property name=webapp location=${build}/webapp /
 property name=tarball location=${build}/${project}.tar /
 property name=test location=test /
 property name=src location=src /
 property name=web location=web /
 property name=lib location=lib /
 mkdir dir=${build} /
 mkdir dir=${classes} /
 mkdir dir=${classes}/META-INF/
 mkdir dir=${doc} /
 mkdir dir=${webapp} /
 mkdir dir=${webapp}/WEB-INF/
 mkdir dir=${webapp}/WEB-INF/classes/
 mkdir dir=${webapp}/WEB-INF/lib/
 mkdir dir=${test} /

 path id=xdoclet.classpath
pathelement location=${ant.home}/lib/ant.jar /
	pathelement location=${lib}/xdoclet.jar /
	pathelement location=${lib}/log4j.jar /
 /path
 property name=xdoclet.classpath refid=xdoclet.classpath/
   /target

   !-- CLEAR --
   target name=clear depends=init
 delete dir=${test}/
 delete dir=${build}/
   /target

   !-- EJB XDoclet --
   target name=xdoclet depends=init
 taskdef name=xdoclet classname=xdoclet.ejb.EjbDocletTask classpath=${xdoclet.classpath}/
 xdoclet sourcepath=${src}/de/gama/adr/model 
destdir=${src}/de/gama/adr/model
		classpath=${xdoclet.classpath}
		ejbspec=2.0
   fileset dir=${src}/de/gama/adr/model
 include name=**/PersonBean.java /
   /fileset
   remoteinterface/
   homeinterface/
   localinterface/
   localhomeinterface/
   deploymentdescriptor destdir=${classes}/META-INF/
   jboss destdir=${classes}/META-INF version=3.0 xmlencoding=UTF-8 /
 /xdoclet
   /target

   !-- COMPILE --
   target name=compile depends=init
 javac srcdir=${src} destdir=${classes} deprecation=on debug=on
   classpathpath refid=classpath.path//classpath
 /javac
   /target

   !-- APP --
   target name=app depends=init,compile
 copy todir=${classes}/META-INF
   fileset dir=${conf}
 include name=ejb-jar.xml/
 include name=jboss.xml/
   /fileset
 /copy
 jar jarfile=${project}.jar basedir=${classes} manifest=${conf}/manifest/
   /target

   !-- WEBAPP --
   target name=webapp depends=app,init,compile
 copy todir=${webapp}
   fileset dir=${web}/
 /copy
 
 copy todir=${webapp}/META-INF
   fileset dir=${conf}
 include name=ejb-jar.xml/
 include name=jboss.xml/
   /fileset
 /copy
  
 copy todir=${webapp}/WEB-INF
   fileset dir=${conf}
 include name=web.xml/
 include name=struts-config.xml/
 include name=struts-bean.tld/
 include name=struts-html.tld/
 include name=struts-logic.tld/
 include name=struts-nested.tld/
 include name=struts-template.tld/
 include name=validation.xml/
 include name=validator-rules.xml/
   /fileset
 /copy
 copy todir=${webapp}/WEB-INF/classes
   fileset dir=${classes}
   /fileset
   fileset dir=${conf}
 include name=database.xml/
	 include name=mapping.xml/
   /fileset
 /copy
 !--
 jar jarfile=${webapp}/WEB-INF/lib/${project}.jar basedir=${classes} /
 --
 copy todir=${webapp}/WEB-INF/lib
   fileset dir=${lib}
 include name=castor-0.9.3.9+-xml.jar/
 include name=castor-0.9.3.9+.jar/
 include name=jdbc-se2.0.jar/
 !--include name=jta1.0.1.jar/--
 include name=postgresql-7.2.jar/
 !--include name=xerces.jar/--
 
	 include name=struts.jar/
	 include name=commons-beanutils.jar/
	 include name=commons-collections.jar/
	 include name=commons-dbcp.jar/
	 include name=commons-digester.jar/
	 include name=commons-logging.jar/
	 include name=commons-pool.jar/
	 include name=commons-services.jar/
	 include name=commons-validator.jar/
	 include name=jakarta-oro.jar/

   /fileset
 /copy
   /target

   !-- WAR --
   target name=war depends=webapp
 jar jarfile=${build}/${project}.war basedir=${webapp} /
   /target

/project



msg21931/pgp0.pgp
Description: PGP signature


Re: [JBoss-user] Re: A question about Mail Service--not solved yet!

2002-10-07 Thread Dmitri Colebatch

Gene,

are you using jboss 3?

have a look in mail-service.xml - mine has a bit like this:

mbean code=org.jboss.mail.MailService
name=jboss:service=Mail
attribute name=JNDINamejava:/Mail/attribute
attribute name=Usernobody/attribute
attribute name=Passwordpassword/attribute

replace the values with those for your login and I assume it will work (o:

cheers
dim

- Original Message -
From: Gene Ge [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 2:16 AM
Subject: [JBoss-user] Re: A question about Mail Service--not solved yet!


 thanks to Dmitri and Stephen

 but it is not solved yet so I need more help.

 I have had a valid account in the mail server and I know i can input my
 usernamepassword in a mail application such as outlook to make it work.
 What is bothering me is I don't know where I can put my usernamepassword
 when I use Mail Service of Jboss. Or something else I don't know?

 thanks for your help again.

 Gene

 - Original Message -
 dem wrote:

 You will need to point it at a mail server that allows mail relaying from
 your network.  Try using the same host that you use for sending mail in
your
 mail client (outlook etc).

 cheers
 dim

 - Original Message -
 From: Gene Ge [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, October 07, 2002 1:09 PM
 Subject: [JBoss-user] A questin about Mail Service


 hello every:
Thanks for your help!
I am trying to use Mail Service to send email. I did some
configuration
 first such as set mail.pop3.host=pop.aaa.net
 mail.smtp.host=smtp.aaa.net
 etc. in the /server/deploy/mail-service.xml file.
The problem is: I found my program can only send mail to any address
 with
 the same domain name of mail.smtp.host property. For example, if I set
 mail.smtp.host=smtp.163.com(a mail server in my country), I would only
can
 send mail to [EMAIL PROTECTED] or [EMAIL PROTECTED], and addresses as [EMAIL PROTECTED]
 are told invalid email address.
 
 !Error Message---
 11:02:37,062 ERROR [STDERR] javax.mail.SendFailedException: Sending
 failed;
nested exception is:
  javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
  javax.mail.SendFailedException: 554 [EMAIL PROTECTED]:
 Recipient address rejected: Relay access denied
 -
 I'm not sure whether it because the smtp server need a authentication. I
 had
 set all properties in mail-service.xml include username and password but
 it
 seemed it didn't take effect. So I think maybe I need more configuration.
 Anyone can give me some hints? Thank you first.
 
 Best Regards
 Gene


 _
 Chat with friends online, try MSN Messenger: http://messenger.msn.com



 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Single Sign On Support Between Multiple WebApps in Jetty

2002-10-07 Thread Gavin Hughes


It turns out that Jetty currently doesn't support sign sign-on between
web apps - guess I'll have to try Tomcat instead :

http://groups.yahoo.com/group/jetty-support/message/3947


In answer to your question, if you want to use FORM based
authentication, its defined in the web app deployment descriptor
(web.xml) as follows :

  login-config
auth-methodFORM/auth-method
realm-nameWebSecurityRealm/realm-name
form-login-config
  form-login-page/login.jsp/form-login-page
  form-error-page/fail_login.jsp/form-error-page
/form-login-config
  /login-config
  
The realm name needs to be the name of a JAAS security realm - this is
defined in the JAAS configuration file (login-config.xml) and the JBoss
specific deployment dexcriptor (jboss-web.xml).

in jboss-web.xml :

  security-domainjava:/jaas/WebSecurityRealm/security-domain

in login-config.xml :

application-policy name = WebSecurityRealm
   authentication
 login-module code =
org.jboss.security.auth.spi.DatabaseServerLoginModule flag =
sufficient
 module-option name =
dsJndiNamejava:/OracleDS/module-option
 module-option name = principalsQueryselect Password
from Principals where PrincipalId=?/module-option
 module-option name = rolesQueryselect Role, RoleGroup
from Roles where PrincipalId=?/module-option
 /login-module
   /authentication
/application-policy


-Original Message-
From: KRALIK Vladimir [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 4 October 2002 4:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Single Sign On Support Between Multiple
WebApps in Jetty


I think, that FORM-based security need Session on server-side. Each
webapp has its own Session-object, and when this session doesn't exists
the login form is showed.

Try BASIC autentification. In this form browser sends security data
(login and password) to server in HTTP-header.  
I use this form when I develop webapps, and often need restart server.
Browser holds login and password between server restart.

vlk

BTW: Can you please send me a link to a description how set up this on
form based autentification on Tomcat/Catalina ? Thanks.

 -Original Message-
 From: Gavin Hughes [mailto:[EMAIL PROTECTED]]
 Sent: 4. oktobra 2002 6:41
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Single Sign On Support Between Multiple
 WebApps in Jetty
 
 
 
 I've been looking around to see if I could perform a single sign on 
 between multiple web applications deployed under the same server 
 instance of JBoss, but have not found a way to do this with Jetty 
 (although I have seen a description of how to do this with 
 Tomcat/Catalina).
 
 I currently have 2 web apps deployed - both apps use standard J2EE 
 security (FORM based).
 
 Each of the web apps are configured to use the same security realm in 
 their deployment descriptors (web.xml), and the same security domain 
 in the JBoss specific deployment descriptor (jboss-web.xml).
 
 Each web app requires me to authenticate independently though
 - is there
 anything in particular I need to do to get single sign-on working ?
 
 I am using JBoss 3.0.3 (with Jetty bundled) with JDK 1.4.1 on Windows 
 XP.
 
 Any help appreciated.
 
 Gavin.
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED] 
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf ___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Automatic Detection of JBoss Service

2002-10-07 Thread Phuwarin . Supawarapong

Normally, if we want to check that the server machine is still alive or
not, we can ping to its IP address or name.
For JBoss, does anybody has experience with how to detect its service to
ensure or to check that it is still alive or not? I mean from the client
machine or remote machine to ping or to detect the JBoss service remotely.

-phu



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] How can I search Archives?About fk as part of pk

2002-10-07 Thread Gene Ge

hello everyone:
I want to search in archives, but when I try to link 
http://sourceforge.net/mailarchive/forum.php?forum=jboss-user;
I was told:ERROR! Forum is restricted to members of this group .
So...

And my problem is:
In my impression, someone had said the lastest jobss release now allowed CMP 
foreign key as part of PK. I need this feature now but forget how to make 
it:).

anyone can help?

thanks
Gene

_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Farm drops app on redeploy

2002-10-07 Thread Schnitzer, Jeff

Hi!  I have a JBoss (3.0.2/tomcat 4.0.4) cluster (right now just 2
machines) which is farmed.  For the most part, farming works (although
it seems to like to pick up my EAR before the oracle-service.xml which
provides the data source), but I just started experiencing a peculiar
bit of behavior.

A normal deploy from scratch farms out my EAR just fine; it's picked up
by both JBoss instances and all is well.

If I redeploy the application, it installs to both instances and then is
immediately removed from both instances (!)

What may have something to do with this is that my app now takes a long
time (a couple minutes) to load and initialize.  Back when it was almost
instantaneous, I didn't notice this problem.

Is there something I can do about this?  Also, is there some way of
forcing my EAR to deploy _after_ my oracle-service.xml?

Thanks,
Jeff Schnitzer
[EMAIL PROTECTED]
(JBoss is finding its way into The Sims Online :-)


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] (no subject)

2002-10-07 Thread Cindy Liang

Hi,
I¡¦m using JBoss3.0.2 and would like to create bmp that use Oracle8i database. 
However I got error when deploy. Please help to figure out the problem. Thanks.
Below is the error:
11:15:59,152 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 
'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
  none
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@6d9e714e { 
url=file:/D:/jboss-3.0.2/server/default/deploy/oracle-service.xml }
  deployer: org.jboss.deployment.SARDeployer@1a9334
  status: Deployment FAILED reason: DefaultDomain:service=XADataSource,name=OracleDS 
is not registered.; - nested throwable: (javax.management.InstanceNotFoundException: 
DefaultDomain:service=XADataSource,name=OracleDS is not registered.)
  state: FAILED
  watch: file:/D:/jboss-3.0.2/server/default/deploy/oracle-service.xml
  lastDeployed: 1034046947125
  lastModified: 1034046947115
  mbeans:
DefaultDomain:service=XADataSource,name=OracleDS (state not available)
]MBeans waiting for classes:
  none
MBeans waiting for other MBeans:
[ObjectName: DefaultDomain:service=XADataSource,name=OracleDS
 state: NOTYETINSTALLED
 I Depend On:
 Depends On Me: ]

Below is the XML files written:
Oracle-service.xml:
?xml version=1.0 encoding=UTF-8?
server
mbean code=org.jboss.jdbc.XADataSourceLoader 
name=DefaultDomain:service=XADataSource,name=OracleDS
  attribute name=PoolNameOracleDS/attribute
  attribute 
name=DataSourceClassorg.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl/attribute
  attribute name=URLjdbc:oracle:thin:localhost:1521:ora/attribute
  attribute name=JDBCUsers_user/attribute
  attribute name=Passwordsh/attribute
  attribute name=MaxSize50/attribute  
/mbean
/server

Jboss.xml:
?xml version=1.0?
jboss
   enterprise-beans
  entity
 ejb-nameUserInfo/ejb-name
 jndi-nameUserInfo/jndi-name
 resource-managers
resource-manager res-class=org.jboss.ejb.deployment.JDBCResource
res-nameUserInfoDS/res-name
res-jndi-nameOracleDS/res-jndi-name
/resource-manager
 /resource-managers
  /entity
/jboss

ejb-jar.xml:
?xml version=1.0?
!DOCTYPE ejb-jar
   PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN
   http://java.sun.com/dtd/ejb-jar_2_0.dtd;


ejb-jar
   enterprise-beans
   entity
 ejb-nameUserInfo/ejb-name
 homecom.user.UserInfoHome/home
 remotecom.user.UserInfoRemote/remote
 ejb-classcom.user.UserInfoEntity/ejb-class
 persistence-typeBean/persistence-type
 prim-key-classjava.lang.String/prim-key-class
 reentrantFalse/reentrant
 resource-ref
 res-ref-nameUserInfoDS/res-ref-name
 res-typejavax.sql.DataSource/res-type
 res-authContainer/res-auth
 /resource-ref
   /entity
   /enterprise-beans
/ejb-jar  




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] How can I search Archives?About fk as part of pk

2002-10-07 Thread Dmitri Colebatch

Gene,

try mail-archive.com

no idea about the fk in cmp2 pk though...

cheers
dim

- Original Message -
From: Gene Ge [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 08, 2002 1:08 PM
Subject: [JBoss-user] How can I search Archives?About fk as part of pk


 hello everyone:
 I want to search in archives, but when I try to link
 http://sourceforge.net/mailarchive/forum.php?forum=jboss-user;
 I was told:ERROR! Forum is restricted to members of this group .
 So...

 And my problem is:
 In my impression, someone had said the lastest jobss release now allowed
CMP
 foreign key as part of PK. I need this feature now but forget how to make
 it:).

 anyone can help?

 thanks
 Gene

 _
 MSN Photos is the easiest way to share and print your photos:
 http://photos.msn.com/support/worldwide.aspx



 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] How can I search Archives?About fk as part of pk

2002-10-07 Thread Alex Loubyansky

Hello Gene,

Tuesday, October 08, 2002, 6:08:57 AM, you wrote:
GG And my problem is:
GG In my impression, someone had said the lastest jobss release now allowed CMP 
GG foreign key as part of PK. I need this feature now but forget how to make 
GG it:).

You messed something. It's not supported yet.

alex

GG thanks
GG Gene




---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user