Re: [JBoss-user] [UCE-Spam Complaint]

2002-05-20 Thread Rnd


Steven, are you the jboss-user list administrator??
If yes, i would be glad if you unsubscribed [EMAIL PROTECTED]

OR BETTER something like mantzios@a level doma level
dom2blablafoo.ntua.gr

THANK YOU



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] [UCE-Spam Complaint]

2002-05-20 Thread Marius Kotsbak

Or even better if possible install Vipul's razor
(http://freshmeat.net/projects/vipulsrazor/?topic_id=29) and get rid of
most of the spam.

On man, 2002-05-20 at 08:45, [EMAIL PROTECTED] wrote:
 
 Steven, are you the jboss-user list administrator??
 If yes, i would be glad if you unsubscribed [EMAIL PROTECTED]
 
 OR BETTER something like mantzios@a level doma level
 dom2blablafoo.ntua.gr
 
 THANK YOU
 
 
 
 ___
 Hundreds of nodes, one monster rendering program.
 Now that's a super model! Visit http://clustering.foundries.sf.net/
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jboss 3.0.0 db configure

2002-05-20 Thread Centaur zeus

hi all,

I would like to know how could I set an oracle connection in Jboss 3.0.0
? I search through the web and I found a sample oracle-service.xml. But when
I put it into the same directory as hypersonic-service.xml, it generates
lots of exceptions during startup. So can any one help me ?

Also , I would like to know if I could configure which connection (like
mysql, oracle ) to use when using cmp ?

Perseus


_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] jboss 3.0.0 db configure

2002-05-20 Thread Sacha Labourey

Hello,

In order to help you with your connection, please provide us with the
Exception trace you see.

Then, for your second point (CMP), take a look at the free on-line doco for
CMP: you will see how to give the name of the datasource to your CMP beans.
By default, they will use the java:DefaultDS JNDI name which is linked to
the Hypersonic database that is embedded in JBoss.

Cheers,


Sacha

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de Centaur
 zeus
 Envoyé : lundi, 20 mai 2002 11:18
 À : [EMAIL PROTECTED]
 Objet : [JBoss-user] jboss 3.0.0 db configure


 hi all,

 I would like to know how could I set an oracle connection in
 Jboss 3.0.0
 ? I search through the web and I found a sample
 oracle-service.xml. But when
 I put it into the same directory as hypersonic-service.xml, it generates
 lots of exceptions during startup. So can any one help me ?

 Also , I would like to know if I could configure which
 connection (like
 mysql, oracle ) to use when using cmp ?

 Perseus


 _
 Join the world’s largest e-mail service with MSN Hotmail.
 http://www.hotmail.com


 ___
 Hundreds of nodes, one monster rendering program.
 Now that's a super model! Visit http://clustering.foundries.sf.net/

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] jboss 3.0.0 db configure

2002-05-20 Thread Ingo Bruell

Hi Centaur,

Cz I would like to know how could I set an oracle connection in Jboss 3.0.0
Cz ? I search through the web and I found a sample oracle-service.xml. But when
Cz I put it into the same directory as hypersonic-service.xml, it generates
Cz lots of exceptions during startup. So can any one help me ?

Cz Also , I would like to know if I could configure which connection (like
Cz mysql, oracle ) to use when using cmp ?

There were some threads on the jboss forum, please have a look.
http://www.jboss.org/forums

so long


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



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss 2.4.6/3.0 and JMS

2002-05-20 Thread Andrea Delle Chiaie

Hi all,
I noticed some old messages in the list where someone had problem getting
the Connection Factory (Topic or Queue) from a JBoss 3.0 (and I also with
2.4.6) using some code that is working under 2.4.4.
The problem was that when looking for the Connection Factory in the JNDI
context like:

QueueConnectionFactory queueFactory =
(QueueConnectionFactory)context.lookup(java:/ConnectionFactory);

there wasn't an Exception but the queueFactory was null.
I found that the problem is that you must use the right client classes when
compiling the project.
I tried to use the 2.4.6 client classes with the 2.4.6 server (or the 3.0RC2
client classes with the relative server) and I got the right behaviour.
It may look very simple and stupid, but if you, instead of using ant, use an
IDE (I use JBuilder) with the libraries package already created with an
older version of jboss, may be that you can't realize that you're not using
the right classes.

Mr. Andrea Delle Chiaie



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] [UCE-Spam Complaint]

2002-05-20 Thread Stephen Davidson

Hi Guys.
(Un?)Fortunately, no I am not the list administrator.
Just an old hand at spam fighting.  Went after the source of that spam.  I thought I 
should let the list know who it was and who to talk to, and I wanted to keep whoever 
IS the listadministrator up to 
date as to what I was doing in his/her name.

-Steve

Marius Kotsbak wrote:

 Or even better if possible install Vipul's razor
 (http://freshmeat.net/projects/vipulsrazor/?topic_id=29) and get rid of
 most of the spam.
 
 On man, 2002-05-20 at 08:45, [EMAIL PROTECTED] wrote:
 
Steven, are you the jboss-user list administrator??
If yes, i would be glad if you unsubscribed [EMAIL PROTECTED]

OR BETTER something like mantzios@a level doma level
dom2blablafoo.ntua.gr

THANK YOU






___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] jboss 3.0.0 db configure

2002-05-20 Thread Emerson Cargnin - MSA

can u send your error messages along with your oracle-services.xml, i have
get some problems too, maybe I can help you if you give more info about your
conf.

Emerson

- Original Message -
From: Ingo Bruell [EMAIL PROTECTED]
To: Centaur zeus [EMAIL PROTECTED]
Sent: Monday, May 20, 2002 6:36 AM
Subject: Re: [JBoss-user] jboss 3.0.0 db configure


 Hi Centaur,

 Cz I would like to know how could I set an oracle connection in Jboss
3.0.0
 Cz ? I search through the web and I found a sample oracle-service.xml.
But when
 Cz I put it into the same directory as hypersonic-service.xml, it
generates
 Cz lots of exceptions during startup. So can any one help me ?

 Cz Also , I would like to know if I could configure which connection
(like
 Cz mysql, oracle ) to use when using cmp ?

 There were some threads on the jboss forum, please have a look.
 http://www.jboss.org/forums

 so long


 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



 ___
 Hundreds of nodes, one monster rendering program.
 Now that's a super model! Visit http://clustering.foundries.sf.net/

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] jboss 3.0.0 db configure

2002-05-20 Thread Cloudor Pu

hello,

I am setting a mysql connection to Jboss3.0.0rc2 and have 
followed the steps posted at 
http://jboss.org/forums/thread.jsp?forum=67thread=13366 .
I modifed standardjaws.xml and standardjbosscmp.xml to 
make java:/MySqlDS as the default datasource. When i start 
jboss, there is no error reported. But when i copy the online 
docs example cd.jar to jboss/server/default/deploy/ , i got 
an exception as follows :

20:33:25,559 INFO  [MainDeployer] Starting deployment of package:
file:/var/jboss/server/default/deploy/cd.jar
20:33:26,883 INFO  [EjbModule] Creating
20:33:27,046 INFO  [EjbModule] Deploying CDBean
20:33:29,858 INFO  [EjbModule] Deploying CDCollectionBean
20:33:34,529 ERROR [EntityContainer] Exception in service lifecyle
operation: create
java.sql.SQLException: ResourceException
javax.resource.ResourceException: Could not create connection
at
org.jboss.resource.adapter.jdbc.local.LocalDataSource.getConnection(LocalDataSource.java:105)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getConnection(JDBCCommand.java:694)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCInitCommand.execute(JDBCInitCommand.java:120)
at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.create(JAWSPersistenceManager.java:130)
at
org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:155)
at org.jboss.ejb.EntityContainer.create(EntityContainer.java:337)
at org.jboss.ejb.Container.invoke(Container.java:790)
-
I would like to know what mis-configurations could cause 
this kind of errors? wrong userName,password,url,and any more?


在 2002-05-20 一 的 09:24, Sacha Labourey 写道:
 Hello,
 
 In order to help you with your connection, please provide us with the
 Exception trace you see.
 
 Then, for your second point (CMP), take a look at the free on-line doco for
 CMP: you will see how to give the name of the datasource to your CMP beans.
 By default, they will use the java:DefaultDS JNDI name which is linked to
 the Hypersonic database that is embedded in JBoss.
 
 Cheers,
 
 
   Sacha
 
  -Message d'origine-
  De : [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]De la part de Centaur
  zeus
  Envoyé : lundi, 20 mai 2002 11:18
  À : [EMAIL PROTECTED]
  Objet : [JBoss-user] jboss 3.0.0 db configure
 
 
  hi all,
 
  I would like to know how could I set an oracle connection in
  Jboss 3.0.0
  ? I search through the web and I found a sample
  oracle-service.xml. But when
  I put it into the same directory as hypersonic-service.xml, it generates
  lots of exceptions during startup. So can any one help me ?
 
  Also , I would like to know if I could configure which
  connection (like
  mysql, oracle ) to use when using cmp ?
 
  Perseus
 
 
  _
  Join the world’s largest e-mail service with MSN Hotmail.
  http://www.hotmail.com
 
 
  ___
  Hundreds of nodes, one monster rendering program.
  Now that's a super model! Visit http://clustering.foundries.sf.net/
 
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 ___
 Hundreds of nodes, one monster rendering program.
 Now that's a super model! Visit http://clustering.foundries.sf.net/
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] XML Object persistence

2002-05-20 Thread

Hello All.

 It is possible to get this feature in Jboss for now.
I use Jboss 3.0.1 RC1 / Tomcat 4.03

Few of my entity beans have complicated fields presented by different classes.
This classes have all methods to interact as XML. (importXml, exportXml)
By default JAWS store it as BLOB in my Database, but I want to store it as XML.
I use Oracle9I and this feture is very important for my project.

I can't find how to do it.
Can anyone help me?

Thanks

___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] jboss 3.0.0 db configure

2002-05-20 Thread Emerson Cargnin - MSA

put the following in standardjbosscmp.xml file.

defaults
datasourcejava:/OracleDS/datasource
datasource-mappingOracle8/datasource-mapping
/defaults

and here goes my working oracle-services.xml :

?xml version=1.0 encoding=UTF-8?
!--
= --
!-- --
!-- JBoss Server Configuration --
!-- --
!--
= --
server
!--
 --
!-- ConnectionManager setup for Oracle dbs --
!-- Build jmx-api (build/build.sh all) and view for config
documentation --
!-- Thanks to Steven Coy --
!--
 --
mbean code=org.jboss.resource.connectionmanager.LocalTxConnectionManager
name=jboss.jca:service=LocalTxCM,name=OracleDS

!-- Include a login module configuration named OracleDbRealm.
Update your login-conf.xml, here is an example for a
ConfiguredIdentityLoginModule:
application-policy name = OracleDbRealm
authentication
login-module code =
org.jboss.resource.security.ConfiguredIdentityLoginModule flag =
required
module-option name = principalyourprincipal/module-option
module-option name = userNameyourusername/module-option
module-option name = passwordyourpassword/module-option
module-option name =
managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=OracleDS/mo
dule-option
/login-module
/authentication
/application-policy
NOTE: the application-policy name attribute must match
SecurityDomainJndiName, and the
module-option name = managedConnectionFactoryName
must match the object name of the ConnectionManager you are configuring
here.
--
!--comment out this line if you want component managed security or want
to use the default values in the ManagedConnectionFactoryProperties
attribute name=SecurityDomainJndiNameOracleDbRealm/attribute --
depends optional-attribute-name=ManagedConnectionFactoryName
!--embedded mbean--
mbean code=org.jboss.resource.connectionmanager.RARDeployment
name=jboss.jca:service=LocalTxDS,name=OracleDS
attribute name=JndiNameOracleDS/attribute
attribute name=ManagedConnectionFactoryProperties
properties
config-property name=ConnectionURL
type=java.lang.Stringjdbc:oracle:thin:@10.1.0.26:1521:oradev/config-prop
erty
config-property name=DriverClass
type=java.lang.Stringoracle.jdbc.driver.OracleDriver/config-property
!--set these only if you want only default logins, not through JAAS --
config-property name=UserName
type=java.lang.Stringaluno1/config-property
config-property name=Password
type=java.lang.Stringaluno1/config-property
/properties
/attribute
!--Below here are advanced properties --
!--hack--
depends
optional-attribute-name=OldRarDeploymentjboss.jca:service=RARDeployment,n
ame=JBoss LocalTransaction JDBC Wrapper/depends
/mbean
/depends
depends optional-attribute-name=ManagedConnectionPool
!--embedded mbean--
mbean
code=org.jboss.resource.connectionmanager.JBossManagedConnectionPool
name=jboss.jca:service=LocalTxPool,name=OracleDS
attribute name=MinSize0/attribute
attribute name=MaxSize50/attribute
attribute name=BlockingTimeoutMillis5000/attribute
attribute name=IdleTimeoutMinutes15/attribute
!--criteria indicates if Subject (from security domain) or app supplied
parameters (such as from getConnection(user, pw)) are used to distinguish
connections in the pool. Choices are
ByContainerAndApplication (use both),
ByContainer (use Subject),
ByApplication (use app supplied params only),
ByNothing (all connections are equivalent, usually if adapter supports
reauthentication)--
attribute name=CriteriaByNothing/attribute
/mbean
/depends
depends
optional-attribute-name=CachedConnectionManagerjboss.jca:service=CachedCo
nnectionManager/depends
depends
optional-attribute-name=JaasSecurityManagerServicejboss.security:name=Jaa
sSecurityManager/depends
attribute name=TransactionManagerjava:/TransactionManager/attribute
!--make the rar deploy! hack till better deployment--
dependsjboss.jca:service=RARDeployer/depends
/mbean

/server

- Original Message -
From: Cloudor Pu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 20, 2002 5:47 PM
Subject: RE: [JBoss-user] jboss 3.0.0 db configure


hello,

I am setting a mysql connection to Jboss3.0.0rc2 and have
followed the steps posted at
http://jboss.org/forums/thread.jsp?forum=67thread=13366 .
I modifed standardjaws.xml and standardjbosscmp.xml to
make java:/MySqlDS as the default datasource. When i start
jboss, there is no error reported. But when i copy the online
docs example cd.jar to jboss/server/default/deploy/ , i got
an exception as follows :

20:33:25,559 INFO  [MainDeployer] Starting deployment of package:
file:/var/jboss/server/default/deploy/cd.jar
20:33:26,883 INFO  [EjbModule] Creating
20:33:27,046 INFO  [EjbModule] Deploying CDBean
20:33:29,858 INFO  [EjbModule] Deploying CDCollectionBean
20:33:34,529 ERROR [EntityContainer] Exception in service 

[JBoss-user] JMS acknowledge() and online recover() method

2002-05-20 Thread Davide De Benedictis


Hi All,
I'm using JBoss 2.4.6. and I have an external client application which reads 
from  a queue using CLIENT_ACKNOWLEDGE session settings. If I fail to correctly 
process a message I don't call session.acknowledge() but I call call 
sesson.recover().
Unfortunately it doesn't work...Messages are resent only for a new Server 
startup and I cannot get live redelivery.
I searched through forum's archives finding some peoples facing the same problem 
with any reply. Is there anybody out there using JMS with these features ?
I tried also to set maxsize=1 on the jms xa resource adapter with no result.

Thank you in advance


Davide De Benedictis



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Emerson Cargnin - MSA

Has someone used Jboss for development in a centralizazed way?
I mean, jboss (along with developer IDE, Eclipse) being used in a huge
machine, one instance per developer. I think the problem should be in the
ports used by jboss, what woul'd conflict with others developers instances.
Is there any automatic way to configure an enviroment like that???


- Original Message -
From: Emerson Cargnin - MSA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 20, 2002 10:31 AM
Subject: Re: [JBoss-user] jboss 3.0.0 db configure


 put the following in standardjbosscmp.xml file.

 defaults
 datasourcejava:/OracleDS/datasource
 datasource-mappingOracle8/datasource-mapping
 /defaults

 and here goes my working oracle-services.xml :

 ?xml version=1.0 encoding=UTF-8?
 !--
 = --
 !-- --
 !-- JBoss Server Configuration --
 !-- --
 !--
 = --
 server
 !--
  --
 !-- ConnectionManager setup for Oracle dbs --
 !-- Build jmx-api (build/build.sh all) and view for config
 documentation --
 !-- Thanks to Steven Coy --
 !--
  --
 mbean
code=org.jboss.resource.connectionmanager.LocalTxConnectionManager
 name=jboss.jca:service=LocalTxCM,name=OracleDS

 !-- Include a login module configuration named OracleDbRealm.
 Update your login-conf.xml, here is an example for a
 ConfiguredIdentityLoginModule:
 application-policy name = OracleDbRealm
 authentication
 login-module code =
 org.jboss.resource.security.ConfiguredIdentityLoginModule flag =
 required
 module-option name = principalyourprincipal/module-option
 module-option name = userNameyourusername/module-option
 module-option name = passwordyourpassword/module-option
 module-option name =

managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=OracleDS/mo
 dule-option
 /login-module
 /authentication
 /application-policy
 NOTE: the application-policy name attribute must match
 SecurityDomainJndiName, and the
 module-option name = managedConnectionFactoryName
 must match the object name of the ConnectionManager you are configuring
 here.
 --
 !--comment out this line if you want component managed security or want
 to use the default values in the ManagedConnectionFactoryProperties
 attribute name=SecurityDomainJndiNameOracleDbRealm/attribute --
 depends optional-attribute-name=ManagedConnectionFactoryName
 !--embedded mbean--
 mbean code=org.jboss.resource.connectionmanager.RARDeployment
 name=jboss.jca:service=LocalTxDS,name=OracleDS
 attribute name=JndiNameOracleDS/attribute
 attribute name=ManagedConnectionFactoryProperties
 properties
 config-property name=ConnectionURL

type=java.lang.Stringjdbc:oracle:thin:@10.1.0.26:1521:oradev/config-prop
 erty
 config-property name=DriverClass
 type=java.lang.Stringoracle.jdbc.driver.OracleDriver/config-property
 !--set these only if you want only default logins, not through JAAS --
 config-property name=UserName
 type=java.lang.Stringaluno1/config-property
 config-property name=Password
 type=java.lang.Stringaluno1/config-property
 /properties
 /attribute
 !--Below here are advanced properties --
 !--hack--
 depends

optional-attribute-name=OldRarDeploymentjboss.jca:service=RARDeployment,n
 ame=JBoss LocalTransaction JDBC Wrapper/depends
 /mbean
 /depends
 depends optional-attribute-name=ManagedConnectionPool
 !--embedded mbean--
 mbean
 code=org.jboss.resource.connectionmanager.JBossManagedConnectionPool
 name=jboss.jca:service=LocalTxPool,name=OracleDS
 attribute name=MinSize0/attribute
 attribute name=MaxSize50/attribute
 attribute name=BlockingTimeoutMillis5000/attribute
 attribute name=IdleTimeoutMinutes15/attribute
 !--criteria indicates if Subject (from security domain) or app supplied
 parameters (such as from getConnection(user, pw)) are used to distinguish
 connections in the pool. Choices are
 ByContainerAndApplication (use both),
 ByContainer (use Subject),
 ByApplication (use app supplied params only),
 ByNothing (all connections are equivalent, usually if adapter supports
 reauthentication)--
 attribute name=CriteriaByNothing/attribute
 /mbean
 /depends
 depends

optional-attribute-name=CachedConnectionManagerjboss.jca:service=CachedCo
 nnectionManager/depends
 depends

optional-attribute-name=JaasSecurityManagerServicejboss.security:name=Jaa
 sSecurityManager/depends
 attribute name=TransactionManagerjava:/TransactionManager/attribute
 !--make the rar deploy! hack till better deployment--
 dependsjboss.jca:service=RARDeployer/depends
 /mbean

 /server

 - Original Message -
 From: Cloudor Pu [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, May 20, 2002 5:47 PM
 Subject: RE: [JBoss-user] jboss 3.0.0 db configure


 hello,

 I am setting a mysql connection to Jboss3.0.0rc2 and have
 followed the steps posted at
 

[JBoss-user] The Pool for com.morelogs.guestbook.beans.gbEntryCMP has been overloaded

2002-05-20 Thread Michael Delamere

Hi,

I need some help with the following error.

===
2002-05-20 16:56:39,859 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery.guestbook/gbEntry.findAll]
Executing SQL: SELECT entry_id FROM gbEntries
2002-05-20 16:56:39,876 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery.guestbook/gbEntry.findAll]
Executing SQL: SELECT entry_id FROM gbEntries
2002-05-20 16:56:39,891 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery.guestbook/gbEntry.findAll]
Executing SQL: SELECT entry_id FROM gbEntries
2002-05-20 16:56:39,898 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery.guestbook/gbEntry.findAll]
Executing SQL: SELECT entry_id FROM gbEntries
2002-05-20 16:56:39,915 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery.guestbook/gbEntry.findAll]
Executing SQL: SELECT entry_id FROM gbEntries
2002-05-20 16:56:39,933 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery.guestbook/gbEntry.findAll]
Executing SQL: SELECT entry_id FROM gbEntries
2002-05-20 16:56:39,953 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.guestbook/gbEntry]
Executing SQL: SELECT entry_id,author_id, entry_subject, entry_text,
entry_date, entry_views FROM gbEntries WHERE (entry_id=?) OR (entry_id=?) OR
(entry_id=?) OR (entry_id=?) OR (entry_id=?)
2002-05-20 16:56:39,996 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.guestbook/gbEntry]
Executing SQL: SELECT entry_id,author_id, entry_subject, entry_text,
entry_date, entry_views FROM gbEntries WHERE (entry_id=?) OR (entry_id=?) OR
(entry_id=?) OR (entry_id=?) OR (entry_id=?)
2002-05-20 16:56:40,008 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.guestbook/gbEntry]
Executing SQL: SELECT entry_id,author_id, entry_subject, entry_text,
entry_date, entry_views FROM gbEntries WHERE (entry_id=?) OR (entry_id=?) OR
(entry_id=?) OR (entry_id=?) OR (entry_id=?)
2002-05-20 16:56:40,020 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.guestbook/gbEntry]
Executing SQL: SELECT entry_id,author_id, entry_subject, entry_text,
entry_date, entry_views FROM gbEntries WHERE (entry_id=?) OR (entry_id=?) OR
(entry_id=?) OR (entry_id=?) OR (entry_id=?)
2002-05-20 16:56:40,032 DEBUG [org.jboss.ejb.plugins.EntityInstancePool] The
Pool for com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You
should change pool parameters.
2002-05-20 16:56:40,034 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.guestbook/gbEntry]
Executing SQL: SELECT entry_id,author_id, entry_subject, entry_text,
entry_date, entry_views FROM gbEntries WHERE (entry_id=?) OR (entry_id=?) OR
(entry_id=?) OR (entry_id=?)
2002-05-20 16:56:40,048 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.guestbook/gbEntry]
Executing SQL: SELECT entry_id,author_id, entry_subject, entry_text,
entry_date, entry_views FROM gbEntries WHERE (entry_id=?) OR (entry_id=?) OR
(entry_id=?) OR (entry_id=?)
2002-05-20 16:56:40,064 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.guestbook/gbEntry]
Executing SQL: SELECT entry_id,author_id, entry_subject, entry_text,
entry_date, entry_views FROM gbEntries WHERE (entry_id=?) OR (entry_id=?) OR
(entry_id=?) OR (entry_id=?)
2002-05-20 16:56:40,077 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.guestbook/gbEntry]
Executing SQL: SELECT entry_id,author_id, entry_subject, entry_text,
entry_date, entry_views FROM gbEntries WHERE (entry_id=?) OR (entry_id=?) OR
(entry_id=?) OR (entry_id=?)
2002-05-20 16:56:40,085 INFO  [STDOUT] And another test :-) Just tesing :-)
20020510192938 5
2002-05-20 16:56:40,087 DEBUG [org.jboss.ejb.plugins.EntityInstancePool] The
Pool for com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You
should change pool parameters.
2002-05-20 16:56:40,091 DEBUG [org.jboss.ejb.plugins.EntityInstancePool] The
Pool for com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You
should change pool parameters.
2002-05-20 16:56:40,092 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery.guestbook/gbEntry.findAll]
Executing SQL: SELECT entry_id FROM gbEntries
2002-05-20 16:56:40,099 DEBUG [org.jboss.ejb.plugins.EntityInstancePool] The
Pool for com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You
should change pool parameters.
2002-05-20 16:56:40,101 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery.guestbook/gbEntry.findAll]
Executing SQL: SELECT entry_id FROM gbEntries
2002-05-20 16:56:40,107 DEBUG [org.jboss.ejb.plugins.EntityInstancePool] The
Pool for com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You
should change pool parameters.
2002-05-20 16:56:40,108 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindAllQuery.guestbook/gbEntry.findAll]
Executing SQL: SELECT entry_id FROM gbEntries
2002-05-20 16:56:40,115 DEBUG [org.jboss.ejb.plugins.EntityInstancePool] The
Pool for com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You
should change pool parameters.
2002-05-20 16:56:40,116 DEBUG

[JBoss-user] Re: SSL From Session Bean

2002-05-20 Thread Jon Swinth

Thanks, but the typo was in my email and is correct in the code.  As I said, 
the same utility class works well outside of JBoss.  Can anybody shed some 
light on this?  I don't have a work around for this issue.

 One obvious question:
 Should ...protocal be ...protocol instead?

 On Saturday, May 18, 2002, at 09:36  AM, Jon Swinth wrote:
  System.setProperty(java.protocal.handler.pkgs,com.sun.net.ssl.internal
 . www.protocal);

___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Rnd


FreeBSD has the fancy jail system, which potentially
converts a server to multiple virtual machines, each one
with its own root, its own disk space, and its own ip address/port numbers.

I dont know if Linux has this feature ported, but many FreeBSD based
hosting companies use it.



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] schedulables

2002-05-20 Thread Dennis Muhlestein

Today, when I did a cvs update my schedulables stopped running.

I implement org.jboss.varia.scheduler.Schedulable

I use a jboss-service.xml and wrap the code into an sar file.

I haven't changed anything with my code.  Friday it worked, and ran on
the schedule I specified.  Today it doesn't work.

Anyone else having this type of problem?

Thanks
Dennis


___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] [UCE-Spam Complaint]

2002-05-20 Thread Dain Sundstrom

This list is run by SourceForge.  I would guess they have a place on 
their site to notify them of spamers, so they can be blocked.

-dain

Marius Kotsbak wrote:

 Or even better if possible install Vipul's razor
 (http://freshmeat.net/projects/vipulsrazor/?topic_id=29) and get rid of
 most of the spam.
 
 On man, 2002-05-20 at 08:45, [EMAIL PROTECTED] wrote:
 
Steven, are you the jboss-user list administrator??
If yes, i would be glad if you unsubscribed [EMAIL PROTECTED]

OR BETTER something like mantzios@a level doma level
dom2blablafoo.ntua.gr

THANK YOU



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

 
 
 
 ___
 Hundreds of nodes, one monster rendering program.
 Now that's a super model! Visit http://clustering.foundries.sf.net/
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Mike Finn

Emerson,

There is no simple way to do such a setup. You'll have to go in and mod the various 
files for the port changes. To help keep track of ports, we add some increment of 100 
to the default port numbers for each developer (8080  8180, 8082  8182, etc). Kinda 
lame, but it works

Anyone out there tried setting up virtual network interfaces (/dev/hme0:1, etc) to get 
around the port conflict problem? Seems like it should work, provided you can set the 
'listen' address on all the services (which still means mucking with all the config 
files, huh).

Lastly, FYI, there was a thread on jboss-dev a few weeks back regarding this and how 
to make it less painful (server automatically finds open ports). I have been working 
on a solution (based on 3.0), but am working through some issues with it (not the 
least of which is time :-) ). 

FWIW, the thread:
http://main.jboss.org/forums/thread.jsp?forum=66thread=13058message=3708550q=multiple+instance#3708550

#mike


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Emerson
Cargnin - MSA
Sent: Monday, May 20, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] JBoss in a multi developers environment


Has someone used Jboss for development in a centralizazed way?
I mean, jboss (along with developer IDE, Eclipse) being used in a huge
machine, one instance per developer. I think the problem should be in the
ports used by jboss, what woul'd conflict with others developers instances.
Is there any automatic way to configure an enviroment like that???


- Original Message -
From: Emerson Cargnin - MSA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 20, 2002 10:31 AM
Subject: Re: [JBoss-user] jboss 3.0.0 db configure


 put the following in standardjbosscmp.xml file.

 defaults
 datasourcejava:/OracleDS/datasource
 datasource-mappingOracle8/datasource-mapping
 /defaults

 and here goes my working oracle-services.xml :

 ?xml version=1.0 encoding=UTF-8?
 !--
 = --
 !-- --
 !-- JBoss Server Configuration --
 !-- --
 !--
 = --
 server
 !--
  --
 !-- ConnectionManager setup for Oracle dbs --
 !-- Build jmx-api (build/build.sh all) and view for config
 documentation --
 !-- Thanks to Steven Coy --
 !--
  --
 mbean
code=org.jboss.resource.connectionmanager.LocalTxConnectionManager
 name=jboss.jca:service=LocalTxCM,name=OracleDS

 !-- Include a login module configuration named OracleDbRealm.
 Update your login-conf.xml, here is an example for a
 ConfiguredIdentityLoginModule:
 application-policy name = OracleDbRealm
 authentication
 login-module code =
 org.jboss.resource.security.ConfiguredIdentityLoginModule flag =
 required
 module-option name = principalyourprincipal/module-option
 module-option name = userNameyourusername/module-option
 module-option name = passwordyourpassword/module-option
 module-option name =

managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=OracleDS/mo
 dule-option
 /login-module
 /authentication
 /application-policy
 NOTE: the application-policy name attribute must match
 SecurityDomainJndiName, and the
 module-option name = managedConnectionFactoryName
 must match the object name of the ConnectionManager you are configuring
 here.
 --
 !--comment out this line if you want component managed security or want
 to use the default values in the ManagedConnectionFactoryProperties
 attribute name=SecurityDomainJndiNameOracleDbRealm/attribute --
 depends optional-attribute-name=ManagedConnectionFactoryName
 !--embedded mbean--
 mbean code=org.jboss.resource.connectionmanager.RARDeployment
 name=jboss.jca:service=LocalTxDS,name=OracleDS
 attribute name=JndiNameOracleDS/attribute
 attribute name=ManagedConnectionFactoryProperties
 properties
 config-property name=ConnectionURL

type=java.lang.Stringjdbc:oracle:thin:@10.1.0.26:1521:oradev/config-prop
 erty
 config-property name=DriverClass
 type=java.lang.Stringoracle.jdbc.driver.OracleDriver/config-property
 !--set these only if you want only default logins, not through JAAS --
 config-property name=UserName
 type=java.lang.Stringaluno1/config-property
 config-property name=Password
 type=java.lang.Stringaluno1/config-property
 /properties
 /attribute
 !--Below here are advanced properties --
 !--hack--
 depends

optional-attribute-name=OldRarDeploymentjboss.jca:service=RARDeployment,n
 ame=JBoss LocalTransaction JDBC Wrapper/depends
 /mbean
 /depends
 depends optional-attribute-name=ManagedConnectionPool
 !--embedded mbean--
 mbean
 code=org.jboss.resource.connectionmanager.JBossManagedConnectionPool
 name=jboss.jca:service=LocalTxPool,name=OracleDS
 attribute name=MinSize0/attribute
 attribute name=MaxSize50/attribute
 attribute 

Re: [JBoss-user] XML Object persistence

2002-05-20 Thread Dain Sundstrom

I can tell you that it is unlikely that you feature will make it into 
JAWS, or any new features.

Can you tell me more about this XML storage?  What is involved required 
to store the XML?  A small code examples would help.  If it is not to 
difficult or Oracle specific, it may make it into a release sooner 
rather then later.

-dain

áÎÄÒÅÊ ïÎÉÝÕË wrote:

 Hello All.
 
  It is possible to get this feature in Jboss for now.
 I use Jboss 3.0.1 RC1 / Tomcat 4.03
 
   Few of my entity beans have complicated fields presented by different classes.
   This classes have all methods to interact as XML. (importXml, exportXml)
   By default JAWS store it as BLOB in my Database, but I want to store it as XML.
   I use Oracle9I and this feture is very important for my project.
 
 I can't find how to do it.
 Can anyone help me?
 
 Thanks
 
 ___
 Hundreds of nodes, one monster rendering program.
 Now that's a super model! Visit http://clustering.foundries.sf.net/
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Re: SSL From Session Bean

2002-05-20 Thread Scott M Stark

There is a testcase of a dynamically deployed service which uses
an https url in the 3.0 testsuite. See
org.jboss.test.security.service.HttpsClient
org.jboss.test.security.HttpsUnitTestCase


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message -
From: Jon Swinth [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 20, 2002 8:26 AM
Subject: [JBoss-user] Re: SSL From Session Bean


 Thanks, but the typo was in my email and is correct in the code.  As I
said,
 the same utility class works well outside of JBoss.  Can anybody shed some
 light on this?  I don't have a work around for this issue.

  One obvious question:
  Should ...protocal be ...protocol instead?
 
  On Saturday, May 18, 2002, at 09:36  AM, Jon Swinth wrote:
  
System.setProperty(java.protocal.handler.pkgs,com.sun.net.ssl.internal
  . www.protocal);

 ___
 Hundreds of nodes, one monster rendering program.
 Now that's a super model! Visit http://clustering.foundries.sf.net/

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] [UCE-Spam Complaint]

2002-05-20 Thread Scott M Stark

I already notified SourceForge the issue.


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message - 
From: Dain Sundstrom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, May 20, 2002 9:46 AM
Subject: Re: [JBoss-user] [UCE-Spam Complaint]


 This list is run by SourceForge.  I would guess they have a place on 
 their site to notify them of spamers, so they can be blocked.
 
 -dain
 



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Jules Gosnell

In the hottub, and under the influence of beer, I did not crystallise my 
reasoning well. Now sober I shall try.

JBoss is a fairly loosely bound community of JMX services. By loosely 
bound I mean that the mandatory interfaces specified between these 
services are as simple and thus non-constraining as possible.

A direct side effect of this is that each service must necessarily 
manage it's own configuration (but JMX is a good vehicle for this).

If we start down the path of trying to centralise configuration we will, 
IMHO, have to complicate the contracts between services (i.e. Jetty will 
have to tell another service that it requires a port). This immediately 
constrains services to an API that may not fit (Jetty may serve as many 
ports as it chooses) and raises the bar for new integrations (it won't 
just be ports that become centrally managed - so the APIs becoe bigger 
and more complex).

JBoss is more flexible and has a much more Open feel to it because of 
these minimal contracts. Tightening them up would sacrifice this.

I can see exactly where people who want this central management fnality 
are coming from. If I think of a nice solution I shall post.

Comments ?


Jules


Dain Sundstrom wrote:
 This is a feature I have wanted for a while.  We discussed this at the 
 JBoss retreat, but no one can seem to decide on how to pull it off.  I 
 think we should support a ports file (MBean) which the other services 
 would look to first for the port numbers, but they didn't like that.  I 
 can't really remember why (I was a little drunk at the time).
 
 -dain
 
 Emerson Cargnin - MSA wrote:
 
 Has someone used Jboss for development in a centralizazed way?
 I mean, jboss (along with developer IDE, Eclipse) being used in a huge
 machine, one instance per developer. I think the problem should be in the
 ports used by jboss, what woul'd conflict with others developers 
 instances.
 Is there any automatic way to configure an enviroment like that???


 - Original Message -
 From: Emerson Cargnin - MSA [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, May 20, 2002 10:31 AM
 Subject: Re: [JBoss-user] jboss 3.0.0 db configure



 put the following in standardjbosscmp.xml file.

 defaults
 datasourcejava:/OracleDS/datasource
 datasource-mappingOracle8/datasource-mapping
 /defaults

 and here goes my working oracle-services.xml :

 ?xml version=1.0 encoding=UTF-8?
 !--
 = 
 --
 !-- --
 !-- JBoss Server Configuration --
 !-- --
 !--
 = 
 --
 server
 !--
  --
 !-- ConnectionManager setup for Oracle dbs --
 !-- Build jmx-api (build/build.sh all) and view for config
 documentation --
 !-- Thanks to Steven Coy --
 !--
  --
 mbean

 code=org.jboss.resource.connectionmanager.LocalTxConnectionManager

 name=jboss.jca:service=LocalTxCM,name=OracleDS

 !-- Include a login module configuration named OracleDbRealm.
 Update your login-conf.xml, here is an example for a
 ConfiguredIdentityLoginModule:
 application-policy name = OracleDbRealm
 authentication
 login-module code =
 org.jboss.resource.security.ConfiguredIdentityLoginModule flag =
 required
 module-option name = principalyourprincipal/module-option
 module-option name = userNameyourusername/module-option
 module-option name = passwordyourpassword/module-option
 module-option name =


 managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=OracleDS/mo 


 dule-option
 /login-module
 /authentication
 /application-policy
 NOTE: the application-policy name attribute must match
 SecurityDomainJndiName, and the
 module-option name = managedConnectionFactoryName
 must match the object name of the ConnectionManager you are configuring
 here.
 --
 !--comment out this line if you want component managed security or want
 to use the default values in the ManagedConnectionFactoryProperties
 attribute name=SecurityDomainJndiNameOracleDbRealm/attribute --
 depends optional-attribute-name=ManagedConnectionFactoryName
 !--embedded mbean--
 mbean code=org.jboss.resource.connectionmanager.RARDeployment
 name=jboss.jca:service=LocalTxDS,name=OracleDS
 attribute name=JndiNameOracleDS/attribute
 attribute name=ManagedConnectionFactoryProperties
 properties
 config-property name=ConnectionURL


 type=java.lang.Stringjdbc:oracle:thin:@10.1.0.26:1521:oradev/config-prop 


 erty
 config-property name=DriverClass
 type=java.lang.Stringoracle.jdbc.driver.OracleDriver/config-property 

 !--set these only if you want only default logins, not through JAAS --
 config-property name=UserName
 type=java.lang.Stringaluno1/config-property
 config-property name=Password
 type=java.lang.Stringaluno1/config-property
 /properties
 /attribute
 !--Below here are advanced properties --
 !--hack--
 depends


 

Re: [JBoss-user] schedulables

2002-05-20 Thread Dennis Muhlestein

Also: The scheduler-service.xml doesn't work either.

I do get the following output but then I never get the scheduled event.

-Dennis

2002-05-20 10:34:46,074 DEBUG [org.jboss.system.ServiceConfigurator]
InitialStartDate set to 0 in jboss:service=Scheduler
2002-05-20 10:34:46,074 DEBUG [org.jboss.varia.scheduler.Scheduler]
Initial Start Date is set to: Wed Dec 31 16:00:00 PST 1969
2002-05-20 10:34:46,074 DEBUG [org.jboss.system.ServiceConfigurator]
SchedulePeriod set to 1 in jboss:service=Scheduler
2002-05-20 10:34:46,075 DEBUG [org.jboss.system.ServiceConfigurator]
InitialRepetitions set to -1 in jboss:service=Scheduler
2002-05-20 10:34:46,075 INFO  [org.jboss.varia.scheduler.Scheduler]
Creating
2002-05-20 10:34:46,075 INFO  [org.jboss.varia.scheduler.Scheduler]
Created
2002-05-20 10:34:46,075 DEBUG [org.jboss.deployment.MainDeployer] Done
with create step of deploying scheduler-service.xml
2002-05-20 10:34:46,076 DEBUG [org.jboss.deployment.MainDeployer] start
step for deployment
file:/home/dennis/usr/jboss-all/build/output/jboss-3.0.0RC3/server/default/deploy/scheduler-service.xml
2002-05-20 10:34:46,076 DEBUG [org.jboss.deployment.SARDeployer]
Deploying SAR, start step: url
file:/home/dennis/usr/jboss-all/build/output/jboss-3.0.0RC3/server/default/deploy/scheduler-service.xml
2002-05-20 10:34:46,076 INFO  [org.jboss.varia.scheduler.Scheduler]
Starting
2002-05-20 10:34:46,076 DEBUG [org.jboss.varia.scheduler.Scheduler]
Start Scheduler on start up time
2002-05-20 10:34:46,077 DEBUG [org.jboss.varia.scheduler.Scheduler] Old
start date: Wed Dec 31 16:00:00 PST 1969, now: Mon May
20 10:34:46 PDT 2002, Skip repeats: 102191609
2002-05-20 10:34:46,077 DEBUG [org.jboss.varia.scheduler.Scheduler]
Schedule initial call to: Mon May 20 10:34:50 PDT 2002, remaining
repetitions: -1
2002-05-20 10:34:46,077 INFO  [org.jboss.varia.scheduler.Scheduler]
Started
2002-05-20 10:34:46,078 DEBUG [org.jboss.deployment.MainDeployer] Final
(start) deployment step successfully completed on package:
scheduler-service.xml
2002-05-20 10:34:46,078 INFO  [org.jboss.deployment.MainDeployer]
Successfully completed deployment of package:
file:/home/dennis/usr/jboss-all/build/output/jboss-3.0.0RC3/server/default/deploy/scheduler-service.xml


On Mon, 2002-05-20 at 10:33, Dennis Muhlestein wrote:
 Today, when I did a cvs update my schedulables stopped running.
 
 I implement org.jboss.varia.scheduler.Schedulable
 
 I use a jboss-service.xml and wrap the code into an sar file.
 
 I haven't changed anything with my code.  Friday it worked, and ran on
 the schedule I specified.  Today it doesn't work.
 
 Anyone else having this type of problem?
 
 Thanks
 Dennis
 
 
 ___
 Hundreds of nodes, one monster rendering program.
 Now that's a super model! Visit http://clustering.foundries.sf.net/
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Re: SSL From Session Bean

2002-05-20 Thread Jon Swinth

Thanks Scott for pointing me to the test case.  I had looked in that directory but did 
not find it because it is in the Attic (don't know why it would be there).

The test case does not add anything that I am not already doing except for setting the 
trusted keystore.  Is this something required by JBoss?  I am able to run outside of 
JBoss with the trusted keystore null.

Another thing that I found interesting was that if I change:
URL url = new URL(HTTPS_URL);
To specify the handler:
URL url = new URL(null,DEFAULT_URL,new 
com.sun.net.ssl.internal.www.protocol.https.Handler()) ;
I get a stack overflow.

Here are the key sections of my code:

  java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
  String handlers = System.getProperty(java.protocol.handler.pkgs);
  if (handlers == null
 || handlers.indexOf(com.sun.net.ssl.internal.www.protocol)  0) {
if (handlers == null) {
  handlers =  ;
} else {
  handlers += | ;
} //end if
handlers += com.sun.net.ssl.internal.www.protocol ;
System.setProperty(java.protocol.handler.pkgs,handlers);
  } //end if
  URL url = new URL(null,DEFAULT_URL,new 
com.sun.net.ssl.internal.www.protocol.https.Handler()) ;
HttpsURLConnection conn = (HttpsURLConnection)url.openConnection();
conn.setRequestMethod(requestProperty);
conn.setRequestProperty(Content-type,application/x-www-form-urlencoded);
String sendParams = getParamText() ;
if (sendParams != null) {
  conn.setDoOutput(true);
  DataOutputStream output = new DataOutputStream(conn.getOutputStream()) ;
  output.writeBytes(sendParams);
  output.flush();
  output.close();
} //end if
BufferedReader r = new BufferedReader(new 
InputStreamReader(conn.getInputStream()));
Vector lines = new Vector() ;
String line = null ;
while ((line = r.readLine()) != null) {
  lines.add(line);
} //end while
r.close();
conn.disconnect();

Why would this work any different in JBoss then anywhere else?

 From: Scott M Stark [EMAIL PROTECTED]

 There is a testcase of a dynamically deployed service which uses
 an https url in the 3.0 testsuite. See
 org.jboss.test.security.service.HttpsClient
 org.jboss.test.security.HttpsUnitTestCase

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Server log in JBOSS3.0RC2

2002-05-20 Thread Michael Delamere

Hi,

I´ve got a stateless session bean doing a jndi lookup on my entity bean and
returning an array of objects.  The problem is that the first time I start
the application everything works fine and I get all of the data displayed in
my jsp without a problem.

After the first call I manually enter a new record into the database.  When
I press refresh in the browser the new row isn´t shown.  What could the
reason for this be?

Another thing, what do the following lines in the server.log mean?

1)  2002-05-20 16:56:40,209 DEBUG
[org.jboss.ejb.plugins.EntityInstancePool] The Pool for
com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You should
change pool parameters.

2) 2002-05-20 16:56:40,179 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.guestbook/gbEntry]
Executing SQL: SELECT entry_id,author_id, entry_subject, entry_text,
entry_date, entry_views FROM gbEntries WHERE (entry_id=?) OR (entry_id=?) OR
(entry_id=?)

3) 2002-05-20 16:56:40,550 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.guestbook/gbEntry]
Executing SQL: SELECT author_id, entry_subject, entry_text, entry_date,
entry_views FROM gbEntries WHERE (entry_id=?)

4) 2002-05-20 18:25:13,729 DEBUG
[org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover
notifying pools, interval: 45

Is it normal that it is repeating steps 2+3 five times each time along with
other sqls containing question marks?
I would really appreciate an answer to this as I´m trying to figure out why
the jsp isn´t showing the new row!

Thanks in advance,

Michael


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Emerson Cargnin - MSA

Is there any other alternative to this???
Like


- Original Message -
From: Jules Gosnell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 20, 2002 3:37 PM
Subject: Re: [JBoss-user] JBoss in a multi developers environment


 In the hottub, and under the influence of beer, I did not crystallise my
 reasoning well. Now sober I shall try.

 JBoss is a fairly loosely bound community of JMX services. By loosely
 bound I mean that the mandatory interfaces specified between these
 services are as simple and thus non-constraining as possible.

 A direct side effect of this is that each service must necessarily
 manage it's own configuration (but JMX is a good vehicle for this).

 If we start down the path of trying to centralise configuration we will,
 IMHO, have to complicate the contracts between services (i.e. Jetty will
 have to tell another service that it requires a port). This immediately
 constrains services to an API that may not fit (Jetty may serve as many
 ports as it chooses) and raises the bar for new integrations (it won't
 just be ports that become centrally managed - so the APIs becoe bigger
 and more complex).

 JBoss is more flexible and has a much more Open feel to it because of
 these minimal contracts. Tightening them up would sacrifice this.

 I can see exactly where people who want this central management fnality
 are coming from. If I think of a nice solution I shall post.

 Comments ?


 Jules


 Dain Sundstrom wrote:
  This is a feature I have wanted for a while.  We discussed this at the
  JBoss retreat, but no one can seem to decide on how to pull it off.  I
  think we should support a ports file (MBean) which the other services
  would look to first for the port numbers, but they didn't like that.  I
  can't really remember why (I was a little drunk at the time).
 
  -dain
 
  Emerson Cargnin - MSA wrote:
 
  Has someone used Jboss for development in a centralizazed way?
  I mean, jboss (along with developer IDE, Eclipse) being used in a huge
  machine, one instance per developer. I think the problem should be in
the
  ports used by jboss, what woul'd conflict with others developers
  instances.
  Is there any automatic way to configure an enviroment like that???
 
 
  - Original Message -
  From: Emerson Cargnin - MSA [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, May 20, 2002 10:31 AM
  Subject: Re: [JBoss-user] jboss 3.0.0 db configure
 
 
 
  put the following in standardjbosscmp.xml file.
 
  defaults
  datasourcejava:/OracleDS/datasource
  datasource-mappingOracle8/datasource-mapping
  /defaults
 
  and here goes my working oracle-services.xml :
 
  ?xml version=1.0 encoding=UTF-8?
  !--
  =
  --
  !-- --
  !-- JBoss Server Configuration --
  !-- --
  !--
  =
  --
  server
  !--
 
 --
  !-- ConnectionManager setup for Oracle dbs --
  !-- Build jmx-api (build/build.sh all) and view for config
  documentation --
  !-- Thanks to Steven Coy --
  !--
 
 --
  mbean
 
  code=org.jboss.resource.connectionmanager.LocalTxConnectionManager
 
  name=jboss.jca:service=LocalTxCM,name=OracleDS
 
  !-- Include a login module configuration named OracleDbRealm.
  Update your login-conf.xml, here is an example for a
  ConfiguredIdentityLoginModule:
  application-policy name = OracleDbRealm
  authentication
  login-module code =
  org.jboss.resource.security.ConfiguredIdentityLoginModule flag =
  required
  module-option name = principalyourprincipal/module-option
  module-option name = userNameyourusername/module-option
  module-option name = passwordyourpassword/module-option
  module-option name =
 
 
 
managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=OracleDS/mo
 
 
  dule-option
  /login-module
  /authentication
  /application-policy
  NOTE: the application-policy name attribute must match
  SecurityDomainJndiName, and the
  module-option name = managedConnectionFactoryName
  must match the object name of the ConnectionManager you are
configuring
  here.
  --
  !--comment out this line if you want component managed security or
want
  to use the default values in the ManagedConnectionFactoryProperties
  attribute name=SecurityDomainJndiNameOracleDbRealm/attribute --
  depends optional-attribute-name=ManagedConnectionFactoryName
  !--embedded mbean--
  mbean code=org.jboss.resource.connectionmanager.RARDeployment
  name=jboss.jca:service=LocalTxDS,name=OracleDS
  attribute name=JndiNameOracleDS/attribute
  attribute name=ManagedConnectionFactoryProperties
  properties
  config-property name=ConnectionURL
 
 
 
type=java.lang.Stringjdbc:oracle:thin:@10.1.0.26:1521:oradev/config-prop
 
 
  erty
  config-property name=DriverClass
 

Re: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Dain Sundstrom

I moved this discussion to the dev list.  You can subscribe to the dev 
list on Source Forge, or you can read the mirror on the forums.

-dain

Emerson Cargnin - MSA wrote:

 Is there any other alternative to this???
 Like
 
 
 - Original Message -
 From: Jules Gosnell [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, May 20, 2002 3:37 PM
 Subject: Re: [JBoss-user] JBoss in a multi developers environment
 
 
 
In the hottub, and under the influence of beer, I did not crystallise my
reasoning well. Now sober I shall try.

JBoss is a fairly loosely bound community of JMX services. By loosely
bound I mean that the mandatory interfaces specified between these
services are as simple and thus non-constraining as possible.

A direct side effect of this is that each service must necessarily
manage it's own configuration (but JMX is a good vehicle for this).

If we start down the path of trying to centralise configuration we will,
IMHO, have to complicate the contracts between services (i.e. Jetty will
have to tell another service that it requires a port). This immediately
constrains services to an API that may not fit (Jetty may serve as many
ports as it chooses) and raises the bar for new integrations (it won't
just be ports that become centrally managed - so the APIs becoe bigger
and more complex).

JBoss is more flexible and has a much more Open feel to it because of
these minimal contracts. Tightening them up would sacrifice this.

I can see exactly where people who want this central management fnality
are coming from. If I think of a nice solution I shall post.

Comments ?


Jules


Dain Sundstrom wrote:

This is a feature I have wanted for a while.  We discussed this at the
JBoss retreat, but no one can seem to decide on how to pull it off.  I
think we should support a ports file (MBean) which the other services
would look to first for the port numbers, but they didn't like that.  I
can't really remember why (I was a little drunk at the time).

-dain

Emerson Cargnin - MSA wrote:


Has someone used Jboss for development in a centralizazed way?
I mean, jboss (along with developer IDE, Eclipse) being used in a huge
machine, one instance per developer. I think the problem should be in

 the
 
ports used by jboss, what woul'd conflict with others developers
instances.
Is there any automatic way to configure an enviroment like that???


- Original Message -
From: Emerson Cargnin - MSA [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 20, 2002 10:31 AM
Subject: Re: [JBoss-user] jboss 3.0.0 db configure




put the following in standardjbosscmp.xml file.

defaults
datasourcejava:/OracleDS/datasource
datasource-mappingOracle8/datasource-mapping
/defaults

and here goes my working oracle-services.xml :

?xml version=1.0 encoding=UTF-8?
!--
=
--
!-- --
!-- JBoss Server Configuration --
!-- --
!--
=
--
server
!--


  --
 
!-- ConnectionManager setup for Oracle dbs --
!-- Build jmx-api (build/build.sh all) and view for config
documentation --
!-- Thanks to Steven Coy --
!--


  --
 
mbean


code=org.jboss.resource.connectionmanager.LocalTxConnectionManager


name=jboss.jca:service=LocalTxCM,name=OracleDS

!-- Include a login module configuration named OracleDbRealm.
Update your login-conf.xml, here is an example for a
ConfiguredIdentityLoginModule:
application-policy name = OracleDbRealm
authentication
login-module code =
org.jboss.resource.security.ConfiguredIdentityLoginModule flag =
required
module-option name = principalyourprincipal/module-option
module-option name = userNameyourusername/module-option
module-option name = passwordyourpassword/module-option
module-option name =



 managedConnectionFactoryNamejboss.jca:service=LocalTxCM,name=OracleDS/mo
 

dule-option
/login-module
/authentication
/application-policy
NOTE: the application-policy name attribute must match
SecurityDomainJndiName, and the
module-option name = managedConnectionFactoryName
must match the object name of the ConnectionManager you are

 configuring
 
here.
--
!--comment out this line if you want component managed security or

 want
 
to use the default values in the ManagedConnectionFactoryProperties
attribute name=SecurityDomainJndiNameOracleDbRealm/attribute --
depends optional-attribute-name=ManagedConnectionFactoryName
!--embedded mbean--
mbean code=org.jboss.resource.connectionmanager.RARDeployment
name=jboss.jca:service=LocalTxDS,name=OracleDS
attribute name=JndiNameOracleDS/attribute
attribute name=ManagedConnectionFactoryProperties
properties
config-property name=ConnectionURL



 type=java.lang.Stringjdbc:oracle:thin:@10.1.0.26:1521:oradev/config-prop
 

erty
config-property name=DriverClass


 

RE: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Lucas McGregor

I think that you can set the known port to 0, and it will tell the server to
pick a random port.

-l

-Original Message-
From: Matthew French [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 12:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss in a multi developers environment


Dain Sundstrom mentioned:

 This is a feature I have wanted for a while.  We discussed this at the
 JBoss retreat, but no one can seem to decide on how to pull it off.  I
 think we should support a ports file (MBean) which the other services
 would look to first for the port numbers, but they didn't like that.  I
 can't really remember why (I was a little drunk at the time).

I have recently implemented 6 separate JBoss 2.4.3 servers on a single
machine.

The biggest problem is the JNDI port, which needs to be at a known address.
This can be changed, but to something non standard. There was a second port
() which also had to be manually remapped in the deployment descriptor.
But it is easy enough to do.

On Linux you can use virtual IP addresses and then specify the hostname
property to run different servers. You also have chroot facility which
runs applications in a virtual directory, preventing them from seeing other
system files. So I guess you could put something together, although I have
not tried it myself.

Of course, an IBM zSeries or Transmeta Blade server would be more
interesting, although I doubt they would be as cost effective. :)

IMHO, I would not want to run several servers in the same VM if I could help
it. Namespace conflicts and the possibility of someone calling System.exit()
being two worries. Yes they can be solved, but only with added complexity.

- Matthew



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread Dan Christopherson

Matthew French wrote:
 Dain Sundstrom mentioned:
 
 
This is a feature I have wanted for a while.  We discussed this at the
JBoss retreat, but no one can seem to decide on how to pull it off.  I
think we should support a ports file (MBean) which the other services
would look to first for the port numbers, but they didn't like that.  I
can't really remember why (I was a little drunk at the time).

 
 I have recently implemented 6 separate JBoss 2.4.3 servers on a single
 machine.
 
 The biggest problem is the JNDI port, which needs to be at a known address.
 This can be changed, but to something non standard. There was a second port
 () which also had to be manually remapped in the deployment descriptor.
 But it is easy enough to do.
 
 On Linux you can use virtual IP addresses and then specify the hostname
 property to run different servers. You also have chroot facility which
 runs applications in a virtual directory, preventing them from seeing other
 system files. So I guess you could put something together, although I have
 not tried it myself.
 
 Of course, an IBM zSeries or Transmeta Blade server would be more
 interesting, although I doubt they would be as cost effective. :)
 
 IMHO, I would not want to run several servers in the same VM if I could help
 it. Namespace conflicts and the possibility of someone calling System.exit()
 being two worries. Yes they can be solved, but only with added complexity.
 


The last person I caught using System.exit is now known as 'Lefty.'
Seriously, you can use a security policy - _one_ security policy on the 
machine. You're not taking any complexity away, you're just moving it 
around - with multiple configurations, you just have whoever is 
responsible for server configuration having to deal with it, rather than 
the person who's responsible for application assembly and deployment. As 
far as namespaces go, the deployer is probably already dealing with 
multiple descriptors anyway (or hacking together some text replacement 
stuff), in any decent sized organization - security especially just gets 
too messed up in a big organization - you always have separate mappings 
for test and production.

If you're in an ISP/ASP environment where your control of the running 
code is limited, I suppose I can see it, but it really pains me to see 
people running one vm per application when the apps are developed 
in-house. I'd feel a bit differently if the VMs were at least fork'ed 
off of each other so that _some_ of the memeory would be shared. One of 
the things application servers are supposed to do is help us share 
resources - memory and process table entries being two of the more 
fundamental resources.

-danch
-- 

=
Disclaimer:
All statements are my own, personal opinions and have nothing to do
with the opinions of employer, wife, or cat. They may not have anything
to do with objective reality, as a matter of fact. Your Milage May Vary, 
Excludes Delivery Charges, etc.
=


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] XML Object persistence

2002-05-20 Thread Dan Christopherson

Probably the easiest way to do this is to declare the CMP field as a 
String and do the XML translation yourself in ejbStore/ejbLoad.

-danch

áÎÄÒÅÊ ïÎÉÝÕË wrote:
 Hello All.
 
  It is possible to get this feature in Jboss for now.
 I use Jboss 3.0.1 RC1 / Tomcat 4.03
 
   Few of my entity beans have complicated fields presented by different classes.
   This classes have all methods to interact as XML. (importXml, exportXml)
   By default JAWS store it as BLOB in my Database, but I want to store it as XML.
   I use Oracle9I and this feture is very important for my project.
 
 I can't find how to do it.
 Can anyone help me?
 
 Thanks
 
 ___
 Hundreds of nodes, one monster rendering program.
 Now that's a super model! Visit http://clustering.foundries.sf.net/
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 



-- 

=
Disclaimer:
All statements are my own, personal opinions and have nothing to do
with the opinions of employer, wife, or cat. They may not have anything
to do with objective reality, as a matter of fact. Your Milage May Vary, 
Excludes Delivery Charges, etc.
=


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] schedulables

2002-05-20 Thread Dennis Muhlestein

Nevermind, I rebuilt everything and it works again.
Funny, oh well.

-Dennis

On Mon, 2002-05-20 at 10:49, Dennis Muhlestein wrote:
 Also: The scheduler-service.xml doesn't work either.
 
 I do get the following output but then I never get the scheduled event.
 
 -Dennis
 
 2002-05-20 10:34:46,074 DEBUG [org.jboss.system.ServiceConfigurator]
 InitialStartDate set to 0 in jboss:service=Scheduler
 2002-05-20 10:34:46,074 DEBUG [org.jboss.varia.scheduler.Scheduler]
 Initial Start Date is set to: Wed Dec 31 16:00:00 PST 1969
 2002-05-20 10:34:46,074 DEBUG [org.jboss.system.ServiceConfigurator]
 SchedulePeriod set to 1 in jboss:service=Scheduler
 2002-05-20 10:34:46,075 DEBUG [org.jboss.system.ServiceConfigurator]
 InitialRepetitions set to -1 in jboss:service=Scheduler
 2002-05-20 10:34:46,075 INFO  [org.jboss.varia.scheduler.Scheduler]
 Creating
 2002-05-20 10:34:46,075 INFO  [org.jboss.varia.scheduler.Scheduler]
 Created
 2002-05-20 10:34:46,075 DEBUG [org.jboss.deployment.MainDeployer] Done
 with create step of deploying scheduler-service.xml
 2002-05-20 10:34:46,076 DEBUG [org.jboss.deployment.MainDeployer] start
 step for deployment
 
file:/home/dennis/usr/jboss-all/build/output/jboss-3.0.0RC3/server/default/deploy/scheduler-service.xml
 2002-05-20 10:34:46,076 DEBUG [org.jboss.deployment.SARDeployer]
 Deploying SAR, start step: url
 
file:/home/dennis/usr/jboss-all/build/output/jboss-3.0.0RC3/server/default/deploy/scheduler-service.xml
 2002-05-20 10:34:46,076 INFO  [org.jboss.varia.scheduler.Scheduler]
 Starting
 2002-05-20 10:34:46,076 DEBUG [org.jboss.varia.scheduler.Scheduler]
 Start Scheduler on start up time
 2002-05-20 10:34:46,077 DEBUG [org.jboss.varia.scheduler.Scheduler] Old
 start date: Wed Dec 31 16:00:00 PST 1969, now: Mon May
 20 10:34:46 PDT 2002, Skip repeats: 102191609
 2002-05-20 10:34:46,077 DEBUG [org.jboss.varia.scheduler.Scheduler]
 Schedule initial call to: Mon May 20 10:34:50 PDT 2002, remaining
 repetitions: -1
 2002-05-20 10:34:46,077 INFO  [org.jboss.varia.scheduler.Scheduler]
 Started
 2002-05-20 10:34:46,078 DEBUG [org.jboss.deployment.MainDeployer] Final
 (start) deployment step successfully completed on package:
 scheduler-service.xml
 2002-05-20 10:34:46,078 INFO  [org.jboss.deployment.MainDeployer]
 Successfully completed deployment of package:
 
file:/home/dennis/usr/jboss-all/build/output/jboss-3.0.0RC3/server/default/deploy/scheduler-service.xml
 
 
 On Mon, 2002-05-20 at 10:33, Dennis Muhlestein wrote:
  Today, when I did a cvs update my schedulables stopped running.
  
  I implement org.jboss.varia.scheduler.Schedulable
  
  I use a jboss-service.xml and wrap the code into an sar file.
  
  I haven't changed anything with my code.  Friday it worked, and ran on
  the schedule I specified.  Today it doesn't work.
  
  Anyone else having this type of problem?
  
  Thanks
  Dennis
  
  
  ___
  Hundreds of nodes, one monster rendering program.
  Now that's a super model! Visit http://clustering.foundries.sf.net/
  
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
  
 
 
 
 ___
 Hundreds of nodes, one monster rendering program.
 Now that's a super model! Visit http://clustering.foundries.sf.net/
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 



___
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] error when redeploying ear file

2002-05-20 Thread James Ward

I think I have seen this before.  If you are not yet using 2.4.6 with Tomcat 4, give 
that a try.  You could also try to put your struts jar files in the lib/ext dir.

-James


 -Original Message-
 From: Michael Delamere [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 3:49 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] error when redeploying ear file
 
 Hi,
 
 I´m going to get at least one answer from you today :-). Please!
 
 Can someone tell me why I get this error when redeploying (copying over)
 an
 ear file?
 
  ERROR ===
 ClassException: org.apache.struts.action.ActionForm; local class
 incompatible: stream classdesc serialVersionUID = 868866204196005189,
 local
 class serialVersionUID = 4799035742323645273
 java.io.InvalidClassException: org.apache.struts.action.ActionForm; local
 class incompatible: stream classdesc serialVersionUID =
 868866204196005189,
 local class serialVersionUID = 4799035742323645273
 at
 java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
 at
 java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
 at
 java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
 at
 java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
 at
 java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
 at
 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616)
 at
 java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
 at
 java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
 at
 org.apache.catalina.session.StandardSession.readObject(StandardSession.jav
 a:
 1268)
 at
 org.apache.catalina.session.StandardSession.readObjectData(StandardSession
 .j
 ava:810)
 at
 org.apache.catalina.session.StandardManager.load(StandardManager.java:411)
 at
 org.apache.catalina.session.StandardManager.start(StandardManager.java:617
 )
 ==
 
 Thanks in advance.
 
 Regards,
 
  Michael
 
 p.s.  I posted a message about getting this error The Pool for
 com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You should
 change pool parameters..  No answer?
 
 
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] error when redeploying ear file

2002-05-20 Thread Michael Delamere

Sorry,

I forgot to mention that I´m using JBOSS3.0RC2!

Would JBOSS2.4.6 solve the problem?  I´m actually having to put my struts
action and form classes into a seperate jar file which I then deploy into
the tomcat/lib folder.  Apparently this has something to do with the
classloader which means that my classes in the *.war/web-inf/classes don´t
get loaded when deploying via JBOSS!?  This is a fairly inconvenient way of
working and I would love to find a better solution.  Is this also solved in
jboss2.4.6.  I would be nice to have everything in one ear/war file.

Thanks,

Michael


- Original Message -
From: James Ward [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 12:02 AM
Subject: RE: [JBoss-user] error when redeploying ear file


 I think I have seen this before.  If you are not yet using 2.4.6 with
Tomcat 4, give that a try.  You could also try to put your struts jar files
in the lib/ext dir.

 -James


  -Original Message-
  From: Michael Delamere [mailto:[EMAIL PROTECTED]]
  Sent: Monday, May 20, 2002 3:49 PM
  To: [EMAIL PROTECTED]
  Subject: [JBoss-user] error when redeploying ear file
 
  Hi,
 
  I´m going to get at least one answer from you today :-). Please!
 
  Can someone tell me why I get this error when redeploying (copying over)
  an
  ear file?
 
   ERROR ===
  ClassException: org.apache.struts.action.ActionForm; local class
  incompatible: stream classdesc serialVersionUID = 868866204196005189,
  local
  class serialVersionUID = 4799035742323645273
  java.io.InvalidClassException: org.apache.struts.action.ActionForm;
local
  class incompatible: stream classdesc serialVersionUID =
  868866204196005189,
  local class serialVersionUID = 4799035742323645273
  at
  java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
  at
  java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
  at
  java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
  at
  java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
  at
  java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
  at
 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616)
  at
  java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
  at
  java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
  at
 
org.apache.catalina.session.StandardSession.readObject(StandardSession.jav
  a:
  1268)
  at
 
org.apache.catalina.session.StandardSession.readObjectData(StandardSession
  .j
  ava:810)
  at
 
org.apache.catalina.session.StandardManager.load(StandardManager.java:411)
  at
 
org.apache.catalina.session.StandardManager.start(StandardManager.java:617
  )
  ==
 
  Thanks in advance.
 
  Regards,
 
   Michael
 
  p.s.  I posted a message about getting this error The Pool for
  com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You should
  change pool parameters..  No answer?
 
 
 
  ___
 
  Don't miss the 2002 Sprint PCS Application Developer's Conference
  August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] error when redeploying ear file

2002-05-20 Thread James Ward

There is something wrong there...  In one of my projects ( Cayambe 
http://www.sf.net/projects/cayambe ) we are doing this in JBoss 2.4.6 and JBoss 3 RC2. 
 We have all the Struts related classes (Actions and beans) in the same war file as 
all the other classes.  We only have code in cvs right now, but it is easy to check 
out the code and compile it.  For JBoss 3, just drop the struts jars and the 
cayambe.ear in the deploy dir.  If you still get similar errors, there is something 
weird going on, maybe a fresh install would work better.

-James


 -Original Message-
 From: Michael Delamere [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 4:14 PM
 To: [EMAIL PROTECTED]; James Ward
 Subject: Re: [JBoss-user] error when redeploying ear file
 
 Sorry,
 
 I forgot to mention that I´m using JBOSS3.0RC2!
 
 Would JBOSS2.4.6 solve the problem?  I´m actually having to put my struts
 action and form classes into a seperate jar file which I then deploy into
 the tomcat/lib folder.  Apparently this has something to do with the
 classloader which means that my classes in the *.war/web-inf/classes don´t
 get loaded when deploying via JBOSS!?  This is a fairly inconvenient way
 of
 working and I would love to find a better solution.  Is this also solved
 in
 jboss2.4.6.  I would be nice to have everything in one ear/war file.
 
 Thanks,
 
 Michael
 
 
 - Original Message -
 From: James Ward [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Tuesday, May 21, 2002 12:02 AM
 Subject: RE: [JBoss-user] error when redeploying ear file
 
 
  I think I have seen this before.  If you are not yet using 2.4.6 with
 Tomcat 4, give that a try.  You could also try to put your struts jar
 files
 in the lib/ext dir.
 
  -James
 
 
   -Original Message-
   From: Michael Delamere [mailto:[EMAIL PROTECTED]]
   Sent: Monday, May 20, 2002 3:49 PM
   To: [EMAIL PROTECTED]
   Subject: [JBoss-user] error when redeploying ear file
  
   Hi,
  
   I´m going to get at least one answer from you today :-). Please!
  
   Can someone tell me why I get this error when redeploying (copying
 over)
   an
   ear file?
  
    ERROR ===
   ClassException: org.apache.struts.action.ActionForm; local class
   incompatible: stream classdesc serialVersionUID = 868866204196005189,
   local
   class serialVersionUID = 4799035742323645273
   java.io.InvalidClassException: org.apache.struts.action.ActionForm;
 local
   class incompatible: stream classdesc serialVersionUID =
   868866204196005189,
   local class serialVersionUID = 4799035742323645273
   at
   java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
   at
  
 java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
   at
   java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
   at
  
 java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
   at
   java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
   at
  
 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616)
   at
   java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
   at
   java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
   at
  
 org.apache.catalina.session.StandardSession.readObject(StandardSession.jav
   a:
   1268)
   at
  
 org.apache.catalina.session.StandardSession.readObjectData(StandardSession
   .j
   ava:810)
   at
  
 org.apache.catalina.session.StandardManager.load(StandardManager.java:411)
   at
  
 org.apache.catalina.session.StandardManager.start(StandardManager.java:617
   )
   ==
  
   Thanks in advance.
  
   Regards,
  
Michael
  
   p.s.  I posted a message about getting this error The Pool for
   com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You
 should
   change pool parameters..  No answer?
  
  
  
   ___
  
   Don't miss the 2002 Sprint PCS Application Developer's Conference
   August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
  
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] error when redeploying ear file

2002-05-20 Thread Dennis Muhlestein

The online docs 

http://www.jboss.org/online-manual/HTML/index.html

explain all about changing pool parameters. Check chapter 7

Basically, your pool went below the number of beans you instantiated. 
JBoss had to make the pool bigger so it warned you.  You could make the
min pool size bigger so you won't get that, but if your going to use the
pool a lot, and you have those beans loaded often, jboss will keep the
pool at a reasonable size with the default configuration.

Maybe someone can point out if I explained this incorrectly. 

As for your EAR problem Someone else'll have to check that out.  

-Dennis



On Mon, 2002-05-20 at 15:49, Michael Delamere wrote:
 Hi,
 
 I´m going to get at least one answer from you today :-). Please!
 
 Can someone tell me why I get this error when redeploying (copying over) an
 ear file?
 
  ERROR ===
 ClassException: org.apache.struts.action.ActionForm; local class
 incompatible: stream classdesc serialVersionUID = 868866204196005189, local
 class serialVersionUID = 4799035742323645273
 java.io.InvalidClassException: org.apache.struts.action.ActionForm; local
 class incompatible: stream classdesc serialVersionUID = 868866204196005189,
 local class serialVersionUID = 4799035742323645273
 at
 java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
 at
 java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
 at
 java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
 at
 java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
 at
 java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
 at
 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616)
 at
 java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
 at
 org.apache.catalina.session.StandardSession.readObject(StandardSession.java:
 1268)
 at
 org.apache.catalina.session.StandardSession.readObjectData(StandardSession.j
 ava:810)
 at
 org.apache.catalina.session.StandardManager.load(StandardManager.java:411)
 at
 org.apache.catalina.session.StandardManager.start(StandardManager.java:617)
 ==
 
 Thanks in advance.
 
 Regards,
 
  Michael
 
 p.s.  I posted a message about getting this error The Pool for
 com.morelogs.guestbook.beans.gbEntryCMP has been overloaded.  You should
 change pool parameters..  No answer?
 
 
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] error when redeploying ear file

2002-05-20 Thread Michael Delamere

Hi,

Just as I feared.  As soon as I removed the jar file containing the form and
action beans and soley deployed the ear file in jboss I get:

javax.servlet.ServletException: Exception creating bean of class
com.morelogs.guestbook.forms.GBEntryForm: java.lang.ClassNotFoundException:
com.morelogs.guestbook.forms.GBEntryForm

I´ve got my GBEntryForm in my ear/war/WEB-INF/classes directory.  Is there
something I have to specify somewhere to make jboss load the classes?

Any help would be appreciated!

Regards,

Michael


- Original Message -
From: Michael Delamere [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; James Ward
[EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 1:14 AM
Subject: Re: [JBoss-user] error when redeploying ear file


 James,

 I´ve downloaded the application that you suggested.  Unfortunately when
 trying to build using ant I get the folowing error:

 Before you ask, I´ve got STRUTS_HOME and LOG4J_HOME set.  They are also in
 my classpath.  Am I maybe using the wrong version of struts?

 === ERROR 
 compile:
 [mkdir] Created dir: /home/mdelamere/public_html/core/build
 [javac] Compiling 74 source files to
 /home/mdelamere/public_html/core/build
 [javac]

/home/mdelamere/public_html/core/src/org/cayambe/web/cart/action/CartActionS
 ervlet.java:3: package org.apache.struts.tiles does not exist
 [javac] import org.apache.struts.tiles.ActionComponentServlet;
 [javac]^
 [javac]

/home/mdelamere/public_html/core/src/org/cayambe/web/cart/action/CartActionS
 ervlet.java:18: cannot resolve symbol
 [javac] symbol  : class ActionComponentServlet
 [javac] location: class org.cayambe.web.cart.action.CartActionServlet
 [javac] public class CartActionServlet extends ActionComponentServlet
{
 [javac]^
 [javac]

/home/mdelamere/public_html/core/src/org/cayambe/web/cart/action/CartActionS
 ervlet.java:59: cannot resolve symbol
 [javac] symbol  : variable super
 [javac] location: class org.cayambe.web.cart.action.CartActionServlet
 [javac]  super.doPost(request,response);
 [javac]  ^
 [javac] Note:
 /home/mdelamere/public_html/core/src/org/cayambe/web/tag/NodesTag.java
uses
 or overrides a deprecated API.
 [javac] Note: Recompile with -deprecation for details.
 [javac] 3 errors

 BUILD FAILED
 =

 I have had a look at the build.xml and have seen, as you said, that you
have
 classes in your WEB-INF/classes folder.  I´m going to have another look
into
 this to see what I´m doing wrong.  Just a matter of interest, have you
tried
 you app in JBOSS3.0RC2 or only in JBOSS2.4.x?

 Thanks,

 Michael


 - Original Message -
 From: James Ward [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: Michael Delamere [EMAIL PROTECTED]
 Sent: Tuesday, May 21, 2002 12:26 AM
 Subject: RE: [JBoss-user] error when redeploying ear file


  There is something wrong there...  In one of my projects ( Cayambe
 http://www.sf.net/projects/cayambe ) we are doing this in JBoss 2.4.6 and
 JBoss 3 RC2.  We have all the Struts related classes (Actions and beans)
in
 the same war file as all the other classes.  We only have code in cvs
right
 now, but it is easy to check out the code and compile it.  For JBoss 3,
just
 drop the struts jars and the cayambe.ear in the deploy dir.  If you still
 get similar errors, there is something weird going on, maybe a fre
  sh install would work better.
 
  -James
 
 
   -Original Message-
   From: Michael Delamere [mailto:[EMAIL PROTECTED]]
   Sent: Monday, May 20, 2002 4:14 PM
   To: [EMAIL PROTECTED]; James Ward
   Subject: Re: [JBoss-user] error when redeploying ear file
  
   Sorry,
  
   I forgot to mention that I´m using JBOSS3.0RC2!
  
   Would JBOSS2.4.6 solve the problem?  I´m actually having to put my
 struts
   action and form classes into a seperate jar file which I then deploy
 into
   the tomcat/lib folder.  Apparently this has something to do with the
   classloader which means that my classes in the *.war/web-inf/classes
 don´t
   get loaded when deploying via JBOSS!?  This is a fairly inconvenient
way
   of
   working and I would love to find a better solution.  Is this also
solved
   in
   jboss2.4.6.  I would be nice to have everything in one ear/war file.
  
   Thanks,
  
   Michael
  
  
   - Original Message -
   From: James Ward [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Tuesday, May 21, 2002 12:02 AM
   Subject: RE: [JBoss-user] error when redeploying ear file
  
  
I think I have seen this before.  If you are not yet using 2.4.6
with
   Tomcat 4, give that a try.  You could also try to put your struts jar
   files
   in the lib/ext dir.
   
-James
   
   
 -Original Message-
 From: Michael Delamere [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 3:49 PM
 

RE: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-20 Thread JD Brennan
Title: RE: [JBoss-user] Server log in JBOSS3.0RC2





Perhaps you need to use Commit Option B or C instead of A
which assumes there's no one else accessing the database
and therefore is free to cache things.


JD


-Original Message-
From: Stephen Coy [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 5:46 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2



I think you need to learn about transactions and commit options.


On Tuesday, May 21, 2002, at 04:50 AM, Michael Delamere wrote:


 I´ve got a stateless session bean doing a jndi lookup on my entity bean 
 and
 returning an array of objects. The problem is that the first time I 
 start
 the application everything works fine and I get all of the data 
 displayed in
 my jsp without a problem.

 After the first call I manually enter a new record into the database. 
 When
 I press refresh in the browser the new row isn´t shown. What could the
 reason for this be?



___


Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm


___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





[JBoss-user] Need Hints on Finding Tx Bug

2002-05-20 Thread Jon Swinth

I am using JBoss3.0.0RC2 and have a complex process that creates new orders 
as they are submitted from the web.  On order submission, a credit card is 
authorized via SSL.  If the credit card is declined then the order is rolled 
back, however the credit card information must stay because we must have a 
log of all calls to the credit card interface.

To accomplish this, I have two methods set to RequiresNew.  One is the method 
that creates the credit card bean and the other is the one that creates the 
credit card interface log entry bean.  All other methods have transactioning 
set to Required.

I have had success in various tests done with simple Entity beans and a 
Session bean with the RequiresNew method(s).  I get an odd error when I use 
the more complex credit card bean:

java.rmi.ServerException: removing bean lock and it has tx set!


I have narrowed the issue to a very specific call to the following method:

  public CustomerCreditCardLocal getCustomerCreditCard(
  Integer  customerNo,
  Integer  ccTypeCd,
  String   ccNum,
  java.util.Date   ccExpDate,
  String   nameOnCard ) {
try {
  CustomerCreditCardLocalHome creditCardHome = 
(CustomerCreditCardLocalHome)getInitialContext().lookup(local/+CustomerCreditCard.BEAN_NAME)
 
;
  CustomerCreditCardLocal creditCard = null ;
  try {
creditCard = creditCardHome.findByCustomerCC(customerNo,
 ccNum,
 ccExpDate) ;
  } catch (FinderException fe) {
  } //end try
  if (creditCard == null) {
Integer customerCCNo = 
((MoneyHandlerLocal)sessionContext.getEJBLocalObject()).createCustomerCreditCard(customerNo,
  
  ccTypeCd,
  
  ccNum,
  
  ccExpDate,
  
  nameOnCard) ;
try {
  creditCardHome = 
(CustomerCreditCardLocalHome)getInitialContext().lookup(local/+CustomerCreditCard.BEAN_NAME)
 
;
  creditCard = creditCardHome.findByPrimaryKey(customerCCNo) ;
} catch (FinderException fe) {
} //end try
  } //end if
  System.out.println(customerCCNo: 
+creditCard.getCustomerCCNo().toString());
  return creditCard ;
} catch (NamingException ne) {
  throw new EJBException(ne) ;
} catch (CreateException ce) {
  throw new EJBException(ce) ;
} //end try
  } //end getCustomerCreditCard()

The createCustomerCreditCard() method is set to RequiresNew and simply calls 
create on CustomerCreditCardLocalHome and returns the PK.

The error occurs on the System.out.println when I try to call 
getCustomerCCNo() on the newly created bean.  What is interesting is that 
there is no record created in the database.  It is also odd that if the 
credit card entry already exists in the DB then everything works.  Even the 
credit card log creation that uses the same approach to make sure it is in 
it's own transaction happens without a hitch.

The only thing that is different between the credit card bean and all the 
other beans that have been successful using RequiresNew is that the passed 
credit card number is being encrypted.  I can't understand how that would 
make a difference.  Calling the bean create method from a remote client works 
fine (thats how I tested the code for when the record already exists).  Here 
is most of the bean definition (package identification removed for client 
privacy reasons):

import java.io.*;
import java.sql.*;
import java.util.*;
import java.security.Key;
import javax.ejb.*;
import javax.naming.*;
import javax.sql.*;
import com.atomicpc.db.*;
import com.atomicpc.util.*;

public abstract class CustomerCreditCardBean implements EntityBean {
  public static final String   SEQUENCE_NAME = customer_cc_no_seq ;

  private static Key   publicKey = null ;


  //CREATE METHODS
  public Integer ejbCreate(
  Integer  customerNo,
  Integer  typeCd,
  String   unencryptedCardNo,
  java.util.Date   expirationDt,
  String   nameOnCard )
  throws CreateException {
setCustomerCCNo(Global.getNextKey(SEQUENCE_NAME));
setCustomerNo(customerNo);
setTypeCd(typeCd);
setUnencryptedCardNo(unencryptedCardNo);
setExpirationDt(expirationDt);
setNameOnCard(nameOnCard);
setCreatedDt(new java.util.Date());

Re: [JBoss-user] JBoss_3_0_0_RC3 released

2002-05-20 Thread Cloudor Pu

hello,

I have a problem with my downloaded jboss-3.0.0RC3_tomcat-4.0.3.zip .
When i deploy the example cd.jar i get an error message as follows:
--
08:40:11,862 INFO  [MainDeployer] Starting deployment of package:
file:/var/jboss/server/default/deploy/cd.jar
08:40:12,170 ERROR [XmlFileLoader] failed to load jboss.xml.  There
could be a syntax error.
org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean
CDBean: configuration '' not found in standardjboss.xml or jboss.xml
at
org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:544)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:186)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:324)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:651)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:526)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:490)

--

 /META-INF/jboss.xml in cd.jar:
--
?xml version=1.0 encoding=iso8859-1?

jboss
securefalse/secure
container-configurations /
resource-managers /
enterprise-beans
session
ejb-nameCDCollectionBean/ejb-name
jndi-namecd/CDCollection/jndi-name
configuration-name/configuration-name
/session
entity
ejb-nameCDBean/ejb-name
jndi-namecd/CD/jndi-name
configuration-name/configuration-name
/entity
/enterprise-beans
/jboss
---

regards,
Cloudor

ÔÚ 2002-05-20 Ò» µÄ 23:22£¬ Scott M Stark дµÀ£º
 The last release candidate before the final release of 3.0 is available on
 SourceForge:
 http://sourceforge.net/project/showfiles.php?group_id=22866
 
 Change notes:
 http://sourceforge.net/project/shownotes.php?release_id=62219
 
 Get your bug reports submitted to SourceForge. If your bugs are there
 and aren't being resolved have you submitted a testcase?
 
 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 
 
 
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-20 Thread Dmitri Colebatch

how are you getting the array of objects?  Is this a finder?

how are you inserting into the database?  are you sure you're committing that tx?  
this probably depends on what client you are
using to insert, and if it has autocommit set to true or not.

cheers
dim

- Original Message -
From: Stephen Coy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 10:45 AM
Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2


I think you need to learn about transactions and commit options.

On Tuesday, May 21, 2002, at 04:50  AM, Michael Delamere wrote:

 I´ve got a stateless session bean doing a jndi lookup on my entity bean
 and
 returning an array of objects.  The problem is that the first time I
 start
 the application everything works fine and I get all of the data
 displayed in
 my jsp without a problem.

 After the first call I manually enter a new record into the database.
 When
 I press refresh in the browser the new row isn´t shown.  What could the
 reason for this be?


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-20 Thread Michael Delamere

Yes, it is a finder:

   public java.util.Collection findAll()
  throws java.rmi.RemoteException,javax.ejb.FinderException;

I get my data from my ActionServlet using the following code:
===
   // Get a naming context
  InitialContext jndiContext = new InitialContext();

  // Get a reference to a gbEntry Bean
  Object ref  = jndiContext.lookup(ejb/guestbook/gbEntry);

  // Get a reference from this to the Bean's Home interface
  gbEntryHome home = (gbEntryHome) PortableRemoteObject.narrow (ref,
gbEntryHome.class);
   entryCollection = home.findAll();
}
==
. which works fine except that after hitting refresh, I don´t get the
new entry that I manually entered into the DB.  I haven´t managed to get
into any depth in terms of commiting or autocommit.  I´ll have to do
that now and hopefully that is the answer.

Thanks,

Michael


- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 3:04 AM
Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2


 how are you getting the array of objects?  Is this a finder?

 how are you inserting into the database?  are you sure you're committing
that tx?  this probably depends on what client you are
 using to insert, and if it has autocommit set to true or not.

 cheers
 dim

 - Original Message -
 From: Stephen Coy [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, May 21, 2002 10:45 AM
 Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2


 I think you need to learn about transactions and commit options.

 On Tuesday, May 21, 2002, at 04:50  AM, Michael Delamere wrote:

  I´ve got a stateless session bean doing a jndi lookup on my entity bean
  and
  returning an array of objects.  The problem is that the first time I
  start
  the application everything works fine and I get all of the data
  displayed in
  my jsp without a problem.
 
  After the first call I manually enter a new record into the database.
  When
  I press refresh in the browser the new row isn´t shown.  What could the
  reason for this be?


 ___

 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


 ___

 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss_3_0_0_RC3 released

2002-05-20 Thread Cloudor Pu

hello,

I have worked around by removing the lines as
configuration-name/configuration-name
from jboss.xml .

regards,
Cloudor

ÔÚ 2002-05-21 ¶þ µÄ 09:05£¬ Cloudor Pu дµÀ£º
 hello,
 
 I have a problem with my downloaded jboss-3.0.0RC3_tomcat-4.0.3.zip .
 When i deploy the example cd.jar i get an error message as follows:
 --
 08:40:11,862 INFO  [MainDeployer] Starting deployment of package:
 file:/var/jboss/server/default/deploy/cd.jar
 08:40:12,170 ERROR [XmlFileLoader] failed to load jboss.xml.  There
 could be a syntax error.
 org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean
 CDBean: configuration '' not found in standardjboss.xml or jboss.xml
   at
 org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:544)
   at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:186)
   at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:324)
   at org.jboss.deployment.MainDeployer.create(MainDeployer.java:651)
   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:526)
   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:490)
 ...
 --
 
  /META-INF/jboss.xml in cd.jar:
 --
 ?xml version=1.0 encoding=iso8859-1?
 
 jboss
 securefalse/secure
 container-configurations /
 resource-managers /
 enterprise-beans
 session
   ejb-nameCDCollectionBean/ejb-name
   jndi-namecd/CDCollection/jndi-name
   configuration-name/configuration-name
 /session
 entity
   ejb-nameCDBean/ejb-name
   jndi-namecd/CD/jndi-name
   configuration-name/configuration-name
 /entity
 /enterprise-beans
 /jboss
 ---
 
 regards,
 Cloudor
 
 ÔÚ 2002-05-20 Ò» µÄ 23:22£¬ Scott M Stark дµÀ£º
  The last release candidate before the final release of 3.0 is available on
  SourceForge:
  http://sourceforge.net/project/showfiles.php?group_id=22866
  
  Change notes:
  http://sourceforge.net/project/shownotes.php?release_id=62219
  
  Get your bug reports submitted to SourceForge. If your bugs are there
  and aren't being resolved have you submitted a testcase?
  
  
  Scott Stark
  Chief Technology Officer
  JBoss Group, LLC
  
  
  
  
  ___
  
  Don't miss the 2002 Sprint PCS Application Developer's Conference
  August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
  
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss_3_0_0_RC3 released

2002-05-20 Thread Scott M Stark

Read the change notes that explain empty
elements are no longer valid indications of
null values. Remove all empty elements from the
descriptors.


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message -
From: Cloudor Pu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 2:05 AM
Subject: Re: [JBoss-user] JBoss_3_0_0_RC3 released


hello,

I have a problem with my downloaded jboss-3.0.0RC3_tomcat-4.0.3.zip .
When i deploy the example cd.jar i get an error message as follows:
--
08:40:11,862 INFO  [MainDeployer] Starting deployment of package:
file:/var/jboss/server/default/deploy/cd.jar
08:40:12,170 ERROR [XmlFileLoader] failed to load jboss.xml.  There
could be a syntax error.
org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean
CDBean: configuration '' not found in standardjboss.xml or jboss.xml
at
org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.ja
va:544)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:186)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:324)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:651)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:526)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:490)

--

 /META-INF/jboss.xml in cd.jar:
--
?xml version=1.0 encoding=iso8859-1?

jboss
securefalse/secure
container-configurations /
resource-managers /
enterprise-beans
session
ejb-nameCDCollectionBean/ejb-name
jndi-namecd/CDCollection/jndi-name
configuration-name/configuration-name
/session
entity
ejb-nameCDBean/ejb-name
jndi-namecd/CD/jndi-name
configuration-name/configuration-name
/entity
/enterprise-beans
/jboss
---

regards,
Cloudor

ÔÚ 2002-05-20 Ò» µÄ 23:22£¬ Scott M Stark дµÀ£º
 The last release candidate before the final release of 3.0 is available on
 SourceForge:
 http://sourceforge.net/project/showfiles.php?group_id=22866

 Change notes:
 http://sourceforge.net/project/shownotes.php?release_id=62219

 Get your bug reports submitted to SourceForge. If your bugs are there
 and aren't being resolved have you submitted a testcase?

 
 Scott Stark
 Chief Technology Officer
 JBoss Group, LLC
 



 ___

 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-20 Thread Dmitri Colebatch

finders are always done against the database so a finder will work.

commit options will only after _changed_ rows - not _new_ rows (afaik)

cheers
dim

- Original Message -
From: JD Brennan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 11:01 AM
Subject: RE: [JBoss-user] Server log in JBOSS3.0RC2


Perhaps you need to use Commit Option B or C instead of A
which assumes there's no one else accessing the database
and therefore is free to cache things.

JD

-Original Message-
From: Stephen Coy [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 5:46 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2


I think you need to learn about transactions and commit options.

On Tuesday, May 21, 2002, at 04:50  AM, Michael Delamere wrote:

 I´ve got a stateless session bean doing a jndi lookup on my entity bean
 and
 returning an array of objects.  The problem is that the first time I
 start
 the application everything works fine and I get all of the data
 displayed in
 my jsp without a problem.

 After the first call I manually enter a new record into the database.
 When
 I press refresh in the browser the new row isn´t shown.  What could the
 reason for this be?


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Server log in JBOSS3.0RC2

2002-05-20 Thread Dmitri Colebatch

that looks fine (to me)...

what database are you using?  and what program are you using to insert the new row(s)?

cheers
dim

- Original Message -
From: Michael Delamere [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 11:33 AM
Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2


Yes, it is a finder:

   public java.util.Collection findAll()
  throws java.rmi.RemoteException,javax.ejb.FinderException;

I get my data from my ActionServlet using the following code:
===
   // Get a naming context
  InitialContext jndiContext = new InitialContext();

  // Get a reference to a gbEntry Bean
  Object ref  = jndiContext.lookup(ejb/guestbook/gbEntry);

  // Get a reference from this to the Bean's Home interface
  gbEntryHome home = (gbEntryHome) PortableRemoteObject.narrow (ref,
gbEntryHome.class);
   entryCollection = home.findAll();
}
==
. which works fine except that after hitting refresh, I don´t get the
new entry that I manually entered into the DB.  I haven´t managed to get
into any depth in terms of commiting or autocommit.  I´ll have to do
that now and hopefully that is the answer.

Thanks,

Michael


- Original Message -
From: Dmitri Colebatch [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 3:04 AM
Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2


 how are you getting the array of objects?  Is this a finder?

 how are you inserting into the database?  are you sure you're committing
that tx?  this probably depends on what client you are
 using to insert, and if it has autocommit set to true or not.

 cheers
 dim

 - Original Message -
 From: Stephen Coy [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, May 21, 2002 10:45 AM
 Subject: Re: [JBoss-user] Server log in JBOSS3.0RC2


 I think you need to learn about transactions and commit options.

 On Tuesday, May 21, 2002, at 04:50  AM, Michael Delamere wrote:

  I´ve got a stateless session bean doing a jndi lookup on my entity bean
  and
  returning an array of objects.  The problem is that the first time I
  start
  the application everything works fine and I get all of the data
  displayed in
  my jsp without a problem.
 
  After the first call I manually enter a new record into the database.
  When
  I press refresh in the browser the new row isn´t shown.  What could the
  reason for this be?


 ___

 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


 ___

 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Rollback failed

2002-05-20 Thread Boris Tamarkin
Title: Rollback failed 





Jboss 3.0.0RC3
Database Mysql with jdbc driver mm.mysql-2.0.13-bin.jar (that included in lib directory of jboss)
Session Bean bean1 with transaction type Required calls to Entity Bean CMP2 bean2 that has
transaction type Supports.
Flow happens inside of method:
1. bean1 calls bean2.create(...)
2. x = doSomething
3. bean1 calls bean2.setSomeOtherField(x)


During step2 Application Exception throwed and bean1 throws to client RemoteException with correct message.
However row created in step1 wasn't deleted and following SQL exception throwed(see below)


Question: Is it my problem , or problem with mysql or jboss?
Thanks


--
19:11:03,833 ERROR [STDERR] java.sql.SQLException: General error: Warning: Some
non-transactional changed tables couldn't be rolled back
19:11:03,843 ERROR [STDERR] at org.gjt.mm.mysql.MysqlIO.sendCommand(Unknown
Source)
19:11:03,843 ERROR [STDERR] at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(Unkno
wn Source)
19:11:03,854 ERROR [STDERR] at org.gjt.mm.mysql.MysqlIO.sqlQuery(Unknown Sou
rce)
19:11:03,864 ERROR [STDERR] at org.gjt.mm.mysql.Connection.execSQL(Unknown S
ource)
19:11:03,874 ERROR [STDERR] at org.gjt.mm.mysql.Connection.execSQL(Unknown S
ource)
19:11:03,884 ERROR [STDERR] at org.gjt.mm.mysql.Connection.rollback(Unknown
Source)
19:11:03,894 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.local.LocalMa
nagedConnection.rollback(LocalManagedConnection.java:245)
19:11:03,904 ERROR [STDERR] at org.jboss.resource.connectionmanager.LocalTxC
onnectionManager$LocalConnectionEventListener.rollback(LocalTxConnectionManager.
java:650)
19:11:03,924 ERROR [STDERR] at org.jboss.tm.TxCapsule.rollbackResources(TxCa
psule.java:1721)
19:11:03,934 ERROR [STDERR] at org.jboss.tm.TxCapsule.rollback(TxCapsule.jav
a:437)
19:11:03,944 ERROR [STDERR] at org.jboss.tm.TransactionImpl.rollback(Transac
tionImpl.java:88)
19:11:03,954 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWit
hTransactions(TxInterceptorCMT.java:180)
19:11:03,964 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:61)
19:11:03,974 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.inv
oke(SecurityInterceptor.java:129)
19:11:03,984 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(L
ogInterceptor.java:166)
19:11:03,994 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.invok
e(StatelessSessionContainer.java:313)
19:11:03,994 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java
:705)
19:11:04,004 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:491)
19:11:04,014 ERROR [STDERR] at org.jboss.invocation.jrmp.server.JRMPInvoker.
invoke(JRMPInvoker.java:364)
19:11:04,024 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor28.invoke(
Unknown Source)
19:11:04,044 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
19:11:04,044 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:3
24)
19:11:04,054 ERROR [STDERR] at sun.rmi.server.UnicastServerRef.dispatch(Unic
astServerRef.java:261)
19:11:04,064 ERROR [STDERR] at sun.rmi.transport.Transport$1.run(Transport.j
ava:148)
19:11:04,074 ERROR [STDERR] at java.security.AccessController.doPrivileged(N
ative Method)
19:11:04,084 ERROR [STDERR] at sun.rmi.transport.Transport.serviceCall(Trans
port.java:144)
19:11:04,094 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport.handleMess
ages(TCPTransport.java:460)
19:11:04,104 ERROR [STDERR] at sun.rmi.transport.tcp.TCPTransport$Connection
Handler.run(TCPTransport.java:701)
19:11:04,114 ERROR [STDERR] at java.lang.Thread.run(Thread.java:536)
--





RE: [JBoss-user] JBoss in a multi developers environment

2002-05-20 Thread James Ward

This might actually be the easiest way to do this...  If you could run
each instance on it's own IP then all of the instances could use the
default ports.  From the ISP side, this would make things very easy.

-James
www.wantJAVA.com


 -Original Message-
 From: Matthew French [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 1:08 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] JBoss in a multi developers environment
 
 Dain Sundstrom mentioned:
 
  This is a feature I have wanted for a while.  We discussed this at
the
  JBoss retreat, but no one can seem to decide on how to pull it off.
I
  think we should support a ports file (MBean) which the other
services
  would look to first for the port numbers, but they didn't like that.
I
  can't really remember why (I was a little drunk at the time).
 
 I have recently implemented 6 separate JBoss 2.4.3 servers on a single
 machine.
 
 The biggest problem is the JNDI port, which needs to be at a known
 address.
 This can be changed, but to something non standard. There was a second
 port
 () which also had to be manually remapped in the deployment
 descriptor.
 But it is easy enough to do.
 
 On Linux you can use virtual IP addresses and then specify the
hostname
 property to run different servers. You also have chroot facility
which
 runs applications in a virtual directory, preventing them from seeing
 other
 system files. So I guess you could put something together, although I
have
 not tried it myself.
 
 Of course, an IBM zSeries or Transmeta Blade server would be more
 interesting, although I doubt they would be as cost effective. :)
 
 IMHO, I would not want to run several servers in the same VM if I
could
 help
 it. Namespace conflicts and the possibility of someone calling
 System.exit()
 being two worries. Yes they can be solved, but only with added
complexity.
 
 - Matthew
 
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss_3_0_0_RC3 released

2002-05-20 Thread Scott M Stark

The last release candidate before the final release of 3.0 is available on
SourceForge:
http://sourceforge.net/project/showfiles.php?group_id=22866

Change notes:
http://sourceforge.net/project/shownotes.php?release_id=62219

Get your bug reports submitted to SourceForge. If your bugs are there
and aren't being resolved have you submitted a testcase?


Scott Stark
Chief Technology Officer
JBoss Group, LLC




___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] [ERROR,ContainerFactory] ... valid types for RMI/IIOP

2002-05-20 Thread G.L. Grobe



I'm getting errors like below on all of my session 
and entity beans, yet, my beans still run fine and I'm seeing no problems 
besides this output.--- snip ---[ERROR,ContainerFactory] Bean : 
AccountMethod : public abstract boolean addAccount(AccountInfo) throws 
RemoteExceptionSection: 9.2.7Warning: The method arguments in the remote 
interface must be of valid types for RMI/IIOP.--- end ---The 
arguments in this interface are of valid types AFAIK, meaning ... 
AccountInfoimplements Serializable.Any help much 
appreciated.