-
1. Re: I wanna invoke DataSource such as lookup("defaultDS"),Ca
adrian.brock Jun 25, 2003 1:41 AM (in response to linden28)No, the datasources are not exposed outside
the virtual machine.
Regards,
Adrian -
2. Re: I wanna invoke DataSource such as lookup("defaultDS"),Ca
linden28 Jun 25, 2003 3:29 AM (in response to linden28)warjort,Thank you very much!
I ask you one question again:
I deploy applus.war was success in jboss3.0.7,But why not success in jboss4.0? It throws error information:
15:00:58,897 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
.scanner.URLDeploymentScanner$DeployedURL@20878c93{ url=file:/C:/jboss4.0/server
/default/deploy/applus.war, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: url file:/C:/jboss4.0/server/default/d
eploy/applus.war could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:191)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:557)
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:72)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:155)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:172)
at $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:405)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:529)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:200)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:211)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:190)
Note:I setup win 2k sp2/sp3 newly. -
3. Re: I wanna invoke DataSource such as lookup("defaultDS"),Ca
adrian.brock Jun 25, 2003 5:58 AM (in response to linden28)This is usually caused by the deployment scanner
seeing the deployment before it has fully finished
copying the war.
Using move rather than copy avoids this problem
provided you are on the same file system (drive letter)
Regards,
Adrian -
4. Re: I wanna invoke DataSource such as lookup("defaultDS"),Ca
linden28 Jun 26, 2003 6:52 AM (in response to linden28)warjort ,Thank you very much!
you are great!