Peter-
Looks like you and I are having the same issue. Check out thread "Bugs
in AutoDeployer/JRMPContainerInvoker". I have not tried with PR4 yet.
Peter Shillan wrote:
>
> Hi Guys,
>
> I have the weirdest problem with the new jBoss CVS. Basically, I try to
> deploy the bank application. Under PR4 it works fine. Under CVS it fails
> (see first server trace). If I then *remove* the bank.jar file and put
> TestBeans.jar into the deploy directory, jBoss deploys my bank application
> and it works, 100%!! If I just remove bank.jar and don't put another jar in,
> jBoss just starts without deploying anything... but as soon as I put a jar
> in... it deploys the previous one, bank.jar.
>
> I've included the server trace below for both cases. You'll just have to
> trust me that the jars are as I say in the deploy directory. I'm assuming
> the problem has something to do with the temporary jar files created. Any
> ideas people?
>
> Trying to deploy bank.jar in CVS (works fine in PR4)
>
> [Console logging] Logging started
>
> - - 8< - - SNIP - - 8< - -
>
> [Auto deployer] Starting
> [Auto deploy] Auto deploy of
> file:/E:/Projects/cvs/jboss/dist/deploy/bank.jar
> [Container factory]
> Deploying:file:/E:/Projects/cvs/jboss/dist/deploy/bank.jar
> [Container factory] null
> [Container factory] Loading ejb-jar.xml :
> jar:file:/E:/Projects/cvs/jboss/dist/tmp/TestBeans.jar!/ME
> TA-INF/ejb-jar.xml
> [Container factory] Loading standardjboss.xml :
> jar:file:/E:/Projects/cvs/jboss/dist/lib/ext/jboss.j
> ar!/org/jboss/metadata/standardjboss.xml
> [Container factory] jar:file:/C:/TEMP/tmpejbjar36489.jar!/META-INF/jboss.xml
> found. Overriding defau
> lts
> [Auto deploy] Deployment
> failed:file:/E:/Projects/cvs/jboss/dist/deploy/bank.jar
> [Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy
> file:/C:/TEMP/tmpejbjar36489.jar
> [Auto deploy] at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:613)
> [Auto deploy] at
> org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:227)
> [Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy] at
> javax.management.MBeanServer.invoke(MBeanServer.java:1635)
> [Auto deploy] at
> javax.management.MBeanServer.invoke(MBeanServer.java:1501)
> [Auto deploy] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:285)
> [Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
> [Auto deploy] at
> org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:264)
> [Auto deploy] at
> org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:89)
> [Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy] at
> javax.management.MBeanServer.invoke(MBeanServer.java:1635)
> [Auto deploy] at
> javax.management.MBeanServer.invoke(MBeanServer.java:1501)
> [Auto deploy] at org.jboss.Main.<init>(Main.java:155)
> [Auto deploy] at org.jboss.Main.<init>(Main.java:86)
> [Auto deploy] at org.jboss.Main$1.run(Main.java:76)
> [Auto deploy] at java.security.AccessController.doPrivileged(Native
> Method)
> [Auto deploy] at org.jboss.Main.main(Main.java:67)
> [Auto deployer] Started
> [Security manager] Starting
> [Security manager] Started
> [Naming] Starting
> [Naming] Started
> [Webserver] Starting
> [Webserver] Codebase set to http://localhost:8083/
> [Webserver] Started webserver on port 8083
> [Webserver] Started
> [Default] Shutdown hook added
> [Default] jBoss 2.0 Started
>
> I remove bank.jar and put TestBeans.jar into my deploy directory. But this
> time the *bank* application deploys, and IT WORKS!!
>
> [Console logging] Logging started
> [Auto deployer] Starting
> [Auto deploy] Auto deploy of
> file:/E:/Projects/cvs/jboss/dist/deploy/TestBeans.jar
> [Container factory]
> Deploying:file:/E:/Projects/cvs/jboss/dist/deploy/TestBeans.jar
> [Container factory] null
> [Container factory] Loading ejb-jar.xml :
> jar:file:/E:/Projects/cvs/jboss/dist/tmp/bank.jar!/META-IN
> F/ejb-jar.xml
> [Container factory] Loading standardjboss.xml :
> jar:file:/E:/Projects/cvs/jboss/dist/lib/ext/jboss.j
> ar!/org/jboss/metadata/standardjboss.xml
> [Container factory]
> jar:file:/E:/Projects/cvs/jboss/dist/tmp/bank.jar!/META-INF/jboss.xml found.
> Ove
> rriding defaults
> [Container factory] Deploying Person
> [Container factory] Deploying Account
> [Container factory] Deploying Address
> [JAWS] Initializing JAWS plugin for Person
> [JAWS] Init SQL: CREATE TABLE Person (primaryKey VARCHAR(256),lastName
> VARCHAR(256),addressPrimaryKe
> y VARCHAR(256),initials VARCHAR(256),firstName VARCHAR(256))
> [JAWS] Destroy SQL: DROP TABLE Person
> [JAWS] Exists SQL: SELECT COUNT(*) AS Total FROM Person WHERE primaryKey=?
> [JAWS] Create SQL: INSERT INTO Person
> (primaryKey,lastName,addressPrimaryKey,initials,firstName) VAL
> UES (?,?,?,?,?)
> [JAWS] Remove SQL: DELETE FROM Person WHERE primaryKey=?
> [JAWS] Load SQL: SELECT
> primaryKey,lastName,addressPrimaryKey,initials,firstName FROM Person WHERE p
> rimaryKey=?
> [JAWS] Init command executing: CREATE TABLE Person (primaryKey
> VARCHAR(256),lastName VARCHAR(256),ad
> dressPrimaryKey VARCHAR(256),initials VARCHAR(256),firstName VARCHAR(256))
> [JAWS] Rows affected = 0
> [JAWS] Table Person created
> [JAWS] Initializing JAWS plugin for Account
> [JAWS] Init SQL: CREATE TABLE Account (primaryKey
> VARCHAR(256),accountHolderPrimaryKey VARCHAR(256),
> balance DOUBLE)
> [JAWS] Destroy SQL: DROP TABLE Account
> [JAWS] Exists SQL: SELECT COUNT(*) AS Total FROM Account WHERE primaryKey=?
> [JAWS] Create SQL: INSERT INTO Account
> (primaryKey,accountHolderPrimaryKey,balance) VALUES (?,?,?)
> [JAWS] Remove SQL: DELETE FROM Account WHERE primaryKey=?
> [JAWS] Load SQL: SELECT primaryKey,accountHolderPrimaryKey,balance FROM
> Account WHERE primaryKey=?
> [JAWS] Init command executing: CREATE TABLE Account (primaryKey
> VARCHAR(256),accountHolderPrimaryKey
> VARCHAR(256),balance DOUBLE)
> [JAWS] Rows affected = 0
> [JAWS] Table Account created
> [JAWS] Initializing JAWS plugin for Address
> [JAWS] Init SQL: CREATE TABLE Address (country VARCHAR(256),addressLine3
> VARCHAR(256),postTown VARCH
> AR(256),postZipCode VARCHAR(256),addressLine1 VARCHAR(256),addressLine2
> VARCHAR(256),stateProvince V
> ARCHAR(256),primaryKey VARCHAR(256))
> [JAWS] Destroy SQL: DROP TABLE Address
> [JAWS] Exists SQL: SELECT COUNT(*) AS Total FROM Address WHERE primaryKey=?
> [JAWS] Create SQL: INSERT INTO Address
> (country,addressLine3,postTown,postZipCode,addressLine1,addre
> ssLine2,stateProvince,primaryKey) VALUES (?,?,?,?,?,?,?,?)
> [JAWS] Remove SQL: DELETE FROM Address WHERE primaryKey=?
> [JAWS] Load SQL: SELECT
> country,addressLine3,postTown,postZipCode,addressLine1,addressLine2,statePro
> vince,primaryKey FROM Address WHERE primaryKey=?
> [JAWS] Init command executing: CREATE TABLE Address (country
> VARCHAR(256),addressLine3 VARCHAR(256),
> postTown VARCHAR(256),postZipCode VARCHAR(256),addressLine1
> VARCHAR(256),addressLine2 VARCHAR(256),s
> tateProvince VARCHAR(256),primaryKey VARCHAR(256))
> [JAWS] Rows affected = 0
> [JAWS] Table Address created
> [Container factory] Bound Person to bank/Person
> [Container factory] Bound Account to bank/Account
> [Container factory] Bound Address to bank/Address
> [Container factory] Deployed application:
> file:/E:/Projects/cvs/jboss/dist/deploy/TestBeans.jar
> [Auto deployer] Started
> [Simple Realm Mapping] Starting
> [Simple Realm Mapping] Started
> [Default] Shutdown hook added
> [Default] jBoss 2.0 Started
>
> Peter.
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
Jeffrey & Nikole Bonevich
Maxmillian Bonevich
Ann Arbor, Michigan
[EMAIL PROTECTED]
http://www.bonevich.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]