hi daniel,

thanks for your hints ... still doesnt work, though.
i put all the stuff directly into my deploy-directory
and on startup now got the following error:


[Auto deploy] Deployment failed:file:/D:/java/jboss/deploy/
[Auto deploy] java.util.zip.ZipException: error in opening zip file
[Auto deploy]   at java.util.zip.ZipFile.open(Native Method)
[Auto deploy]   at java.util.zip.ZipFile.<init>(Unknown Source)
[Auto deploy]   at java.util.jar.JarFile.<init>(Unknown Source)
[Auto deploy]   at java.util.jar.JarFile.<init>(Unknown Source)
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.installEJB(J2eeDeployer.jav
a:509)
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.installApplication(J2eeDepl
oyer.java:420)
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:13
6)
[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
org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:311
)
[Auto deploy]   at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:92)
[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.dependencies.DependencyManager.startMBean(Dependenc
yManager.java:284)
[Auto deploy]   at
org.jboss.dependencies.DependencyManager.loadService(Dependen
cyManager.java:261)
[Auto deploy]   at
org.jboss.dependencies.DependencyManager.processService(Depen
dencyManager.java:243)
[Auto deploy]   at
org.jboss.dependencies.DependencyManager.startMBeans(Dependen
cyManager.java:117)
[Auto deploy]   at org.jboss.Main.<init>(Main.java:162)
[Auto deploy]   at org.jboss.Main$1.run(Main.java:87)
[Auto deploy]   at java.security.AccessController.doPrivileged(Native
Method)
[Auto deploy]   at org.jboss.Main.main(Main.java:83)
[Auto deploy] Started


looks like the auto-deployer tries to unzip
a jar, but there isnt any of course .... any ideas?

---- tim



> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im Auftrag von Daniel Schulze
> Gesendet: Mittwoch, 22. November 2000 12:16
> An: jBoss
> Betreff: Re: [jBoss-User] auto-deploying directory
>
>
> Tim,
>
> assume you put your directory into the deploy directory that it looks
> like that:
>
> jboss/deploy/mybeans/META-INF/ejb-jar.xml
> jboss/deploy/mybeans/com.domain.MyBean.class
> jboss/deploy/mybeans/com.domain.MyBeanHome.class
> jboss/deploy/mybeans/com.domain.MyBeanImpl.class
> ...
>
> You have to add the deploy/mybeans directory to the observed
> autodeploy
> directories
> (AutoDeployer MBean argument in jboss.conf) like this:
>
> ...
> <ARG TYPE="java.lang.String"
> VALUE="../deploy/,../deploy/mybeans/">
> ...
>
>
> Alternatively you can put all the stuff directly into the deploy
> directory like this:
>
> jboss/deploy/META-INF/ejb-jar.xml
> jboss/deploy/com.domain.MyBean.class
> jboss/deploy/com.domain.MyBeanHome.class
> jboss/deploy/com.domain.MyBeanImpl.class
> ...
>
> but then you are not able anymore to autodeploy other apps in this
> directory.
>
> have a look at:
>
> http://www.jboss.org/documentation/J2eeDeployment_howto.html
>
>
> HTH
>
> \Daniel
>
>
> --
> --------------------------------------------------------------
> 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