marc fleury wrote:
> 
> The deployer was a first draft and is in need of serious
> rethinking/redesign.  Usually we refactor but in this case I believe we need
> to seriously revisit that code.

Hey Marc,

I ve been thinking about this stuff again. 
As you know I dont like this file copy and classloader stuff. I think
best would be, if we put all the stuff on deployment into a database. 
This would require a selfwritten classloder, that is able to get its
classes from that database and it would also need (that might be a
little more difficult) a kind of file resolver, that can load the files
from the database (html,jsp,images,...) for the ServletContainer.

One advantage of this approach would be that everything should work fine
when we go to clustering. An other advantage (and maybe more important
these days) we dont have to worry about the buggy URL stuff anymore.

What Do you think about? Rickard?

\Daniel


> 
> Please open a bugzilla entry with this, we'll get to it some time...
> 
> marc
> 
> |-----Original Message-----
> |From: [EMAIL PROTECTED]
> |[mailto:[EMAIL PROTECTED]]On Behalf Of Scott M Stark
> |Sent: Sunday, December 03, 2000 7:01 PM
> |To: jBoss
> |Subject: [jBoss-User] Redeploy of ear fails
> |
> |
> |Whether redploying using the J2eeDeployer or the or bye dropping
> |the ear in the deploy directory
> |I see a failure to find the ejb jar file contained within the ear
> |file. I did not see this entered as
> |a known issue in any bugzilla entry. Is this a known problem?
> |
> |[J2EE Deployer] Could not delete temporary file:
> |/D:/usr/local/Java/EJB/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/depl
> |oy/copy1016.zip
> |[J2EE Deployer] Create application dscape.ear
> |[J2EE Deployer] Installing EJB package: projrep-ejbs.jar
> |[J2EE Deployer] Destroying application dscape.ear
> |[J2EE Deployer] deployment.cfg file deleted.
> |[J2EE Deployer] Could not remove file:
> |file:/D:/usr/local/Java/EJB/jboss_tomcat/jboss-2.0-FINAL/tmp/deploy
> |/dscape.ear
> |[Auto deploy] Deployment
> |failed:file:/D:/usr/local/Java/EJB/jboss_tomcat/jboss-2.0-FINAL/dep
> |loy/dscape.ear
> |[Auto deploy] java.io.FileNotFoundException: JAR entry
> |projrep-ejbs.jar not found in
> |D:\usr\local\Java\EJB\jboss_tomcat\jboss-2.0-FINAL\deploy\dscape.ear
> |[Auto deploy]   at
> |sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:98)
> |[Auto deploy]   at
> |sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConn
> |ection.java:108)
> |[Auto deploy]   at java.net.URL.openStream(URL.java:798)
> |[Auto deploy]   at
> |org.jboss.deployment.URLWizzard.download(URLWizzard.java:65)
> |[Auto deploy]   at
> |org.jboss.deployment.URLWizzard.downloadTemporary(URLWizzard.java:81)
> |[Auto deploy]   at
> |org.jboss.deployment.J2eeDeployer.installEJB(J2eeDeployer.java:497)
> |[Auto deploy]   at
> |org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:466)
> |[Auto deploy]   at
> |org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:136)
> |[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
> |[Auto deploy]   at
> |com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> |[Auto deploy]   at
> |com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> |[Auto deploy]   at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:332)
> |[Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:268)
> |[Auto deploy]   at java.lang.Thread.run(Thread.java:484)
> |
> |The ear does contain this information and deploys fine if I just
> |restart the server.
> |
> |bash-2.04$ jar -tf /usr/local/src/cvsroot/dscape/build/dist/dscape.ear
> |META-INF/
> |META-INF/MANIFEST.MF
> |META-INF/application.xml
> |project-web.war
> |projrep-ejbs.jar
> |
> |
> |
> |
> |--
> |--------------------------------------------------------------
> |To subscribe:        [EMAIL PROTECTED]
> |To unsubscribe:      [EMAIL PROTECTED]
> |Problems?:           [EMAIL PROTECTED]
> |
> |
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to