-
1. Re: New DS Format and SAR files
davidjencks Aug 5, 2002 12:52 PM (in response to dirkniemeierde)I don't recall if I checked that this does work, but you should be able to list a *-ds.xml file in jboss-app.xml in an ear, just as you can list a *-service.xml file. Please report your results.
Thanks
david jencks -
2. Re: New DS Format and SAR files
dirkniemeierde Aug 7, 2002 5:17 AM (in response to dirkniemeierde)David,
perhaps you have an example for this scenario ? Becaus I have an semilar problem while using the DatabaseServerLoginModule. The DS must be declared befor application-policy is declared.
TIA
Dirk -
3. Re: New DS Format and SAR files
dirkniemeierde Aug 7, 2002 10:15 AM (in response to dirkniemeierde)David,
I tried some scenarios. But every time I get an error like this:
2002-08-07 15:18:58,600 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/SeppWkzServer.ear
2002-08-07 15:18:58,600 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/SeppWkzServer.ear
2002-08-07 15:18:58,610 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/tmp/deploy/server/default/deploy/SeppWkzServer.ear/70.SeppWkzServer.ear
2002-08-07 15:18:58,610 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/tmp/deploy/server/default/deploy/SeppWkzServer.ear/70.SeppWkzServer.ear
2002-08-07 15:18:58,610 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository2] Adding org.jboss.mx.loading.UnifiedClassLoader@3f265b{ url=file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/tmp/deploy/server/default/deploy/SeppWkzServer.ear/70.SeppWkzServer.ear }
2002-08-07 15:18:58,610 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.EARDeployer@ab09f
2002-08-07 15:18:58,610 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/SeppWkzServer.ear
2002-08-07 15:18:58,680 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
2002-08-07 15:18:58,680 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2002-08-07 15:18:58,680 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2002-08-07 15:18:58,680 WARN [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
2002-08-07 15:18:58,680 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/SeppWkzServer.ear
2002-08-07 15:18:58,690 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@5f1314e1{ url=file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/SeppWkzServer.ear, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: exception in init of file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/SeppWkzServer.ear; - nested throwable: (org.jboss.deployment.DeploymentException: Failed to find module file: informix-ds.xml)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:694)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:612)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:392)
at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:611)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:464)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:187)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:197)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:177)
Caused by: org.jboss.deployment.DeploymentException: Failed to find module file: informix-ds.xml
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:182)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:670)
... 15 more
2002-08-07 15:18:58,690 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/SeppWkzServer.ear -> file:/C:/jboss/jboss-all/build/output/jboss-3.1.0alpha/server/default/deploy/SeppWkzServer.ear
The server can't find the informix-ds.xml. But I don't know why. The file is in the deploy dir and I tried to put it in the ear file too. But now solution.
TIA
Dirk