Hello
I created test application - as an ear file (just one ejb call from servlet
and passing values, nothing fancy) which runs
fine (thanks to Daniel's help) on jboss_jetty, however ONLY if I am
connected to Interent (via service provider).
It doesn't deploy at all if I am off-line (while included tomcat.ear does).
There is nothing in application that does
anything with the host name or IP address. What could be the problem here?
It is usefull sometimes to work on
app when you are not connected (or behind firewall). I attached both stack
traces (the installation and all files
are completely identical in both cases). I am not able to find the reason.
Please help.
Thanks in advance. Cheers. Miomir
Stack trace when ON-LINE:
[Auto deploy] Auto deploy of
file:/E:/java/jboss_jetty/jboss-PRE-2.1/deploy/j2ee
_hello.ear
[J2EE Deployer] Deploy J2EE application:
file:/E:/java/jboss_jetty/jboss-PRE-2.1
/deploy/j2ee_hello.ear
[J2EE Deployer] Could not delete temporary file:
/E:/java/jboss_jetty/jboss-PRE-
2.1/bin/../tmp/deploy/copy1002.zip
[J2EE Deployer] Create application j2ee_hello.ear
[J2EE Deployer] Installing EJB package: j2ee_hello-ejb.jar
[J2EE Deployer] Installing web package: j2ee_hello-web.war
[J2EE Deployer] Added ./remote.jar to common classpath
[J2EE Deployer] Starting module j2ee_hello-ejb.jar
[Container factory]
Deploying:file:/E:/java/jboss_jetty/jboss-PRE-2.1/bin/../tmp
/deploy/j2ee_hello.ear/ejb1003.jar
[Verifier] Verifying
file:/E:/java/jboss_jetty/jboss-PRE-2.1/bin/../tmp/deploy/j
2ee_hello.ear/ejb1003.jar
[Container factory] Deploying HelloApp
[Container factory] Deployed application:
file:/E:/java/jboss_jetty/jboss-PRE-2.
1/bin/../tmp/deploy/j2ee_hello.ear/ejb1003.jar
[J2EE Deployer] Starting module j2ee_hello-web.war
[Jetty] About to deploy - /servlets/* maps to
file:/E:/java/jboss_jetty/jboss-PR
E-2.1/bin/../tmp/deploy/j2ee_hello.ear/war1004/
[Jetty] Web Application WebApp:Hello Web
Application@file:/E:/java/jboss_jetty/j
boss-PRE-2.1/tmp/deploy/j2ee_hello.ear/war1004/ added
Stack trace when OFF-LINE:
[Auto deploy] Starting
[Auto deploy] Auto deploy of
file:/E:/java/jboss_jetty/jboss-PRE-2.1/deploy/j2ee
_hello.ear
[J2EE Deployer] Deploy J2EE application:
file:/E:/java/jboss_jetty/jboss-PRE-2.1
/deploy/j2ee_hello.ear
[J2EE Deployer] Could not delete temporary file:
/E:/java/jboss_jetty/jboss-PRE-
2.1/bin/../tmp/deploy/copy1001.zip
[J2EE Deployer] Destroying application j2ee_hello.ear
[J2EE Deployer] deployment.cfg file deleted.
[J2EE Deployer] File tree
file:/E:/java/jboss_jetty/jboss-PRE-2.1/tmp/deploy/j2e
e_hello.ear deleted.
[Auto deploy] Deployment
failed:file:/E:/java/jboss_jetty/jboss-PRE-2.1/deploy/j
2ee_hello.ear
[Auto deploy] org.jboss.deployment.J2eeDeploymentException: No valid
deployment
descriptor was found within this URL:
file:/E:/java/jboss_jetty/jboss-PRE-2.1/de
ploy/j2ee_hello.ear
[Auto deploy] Make sure it points to a valid j2ee package
(ejb.jar/web.war/app.e
ar)!
[Auto deploy] at
org.jboss.deployment.J2eeDeployer.installApplication(J2eeDepl
oyer.java:403)
[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)
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]