Hi Mickey,

Thanks for your response. When I start jboss without the jakarta-ojb.sar file and then copy it in, everything seems to deploy cleanly. If I decompress jakarta-ojb.sar into a directory I get the same problem. Note that if jboss is started with jakarta-ojb as either sar file or directory, it is deployed before jmx-console.war

So it looks like a deploy order problem. Now how to configure jBoss deploy order? It is possible to specify MBean dependencies but doing this to the jboss-service.xml file didn't help unfortunately:

<mbean code="org.jboss.ojb.odmg.ODMGFactory"
name="DefaultDomain:service=ODMG,name=ojb/defaultODMG">
<attribute name="JndiName">ojb/defaultODMG</attribute>
<depends>jboss.web:service=JBossWeb</depends>
</mbean>
<mbean code="org.jboss.ojb.pb.PBFactory"
name="DefaultDomain:service=PB,name=ojb/PBAPI">
<attribute name="JndiName">ojb/PBAPI</attribute>
<depends>jboss.web:service=JBossWeb</depends>
</mbean>


The problems are getting simpler at least...

Regards,

Phil

Miroslav Lazarevic' wrote:
On Wednesday 23 October 2002 21:05, Phil Warrick wrote:

14:56:55,646 INFO  [MainDeployer] Starting deployment of package:
file:/C:/jboss
-3.0.3/server/default/deploy/jmx-console.war/
14:56:56,107 INFO  [jbossweb] Registered
jboss.web:Jetty=0,JBossWebApplicationCo
ntext=1,context=/jmx-console
14:57:13,412 INFO  [jbossweb] Started
WebApplicationContext[/jmx-console,file:/C

:/jboss-3.0.3/server/default/deploy/jmx-console.war/]

14:57:13,452 INFO  [jbossweb] JSP: init
14:57:13,512 ERROR [URLDeploymentScanner] Failed to deploy:
org.jboss.deployment
.scanner.URLDeploymentScanner$DeployedURL@929a79d3{
url=file:/C:/jboss-3.0.3/ser
ver/default/deploy/jmx-console.war/, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: Could not create deployment:
file:/C:/
jboss-3.0.3/server/default/deploy/jmx-console.war/; - nested throwable:
(java.la
ng.NoSuchMethodError:
javax.servlet.ServletContext.getResourcePaths(Ljava/lang/S
tring;)Ljava/util/Set;)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:822)


This is my output of JBoss with jakarta-ojb:

2002-10-24 09:33:46,126 INFO [org.jboss.jbossweb] Started WebApplicationContext[/jmx-console,file:/usr/local/jboss-3.0.3/server/default/deploy/jmx-console.war/]
2002-10-24 09:33:46,237 INFO [org.jboss.jbossweb] successfully deployed file:/usr/local/jboss-3.0.3/server/default/deploy/jmx-console.war/ to /jmx-console
2002-10-24 09:33:46,238 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/usr/local/jboss-3.0.3/server/default/deploy/jmx-console.war/
2002-10-24 09:33:46,278 INFO [org.jboss.deployment.scanner.URLDeploymentScanner] Started
2002-10-24 09:33:46,279 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/usr/local/jboss-3.0.3/server/default/conf/jboss-service.xml
2002-10-24 09:33:46,283 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.0.3 Date:200210221941] Started in 0m:33s:981ms

Try to start JBoss without jakarta-ojb.sar first and then when all well started copy jakarta-ojb.sar into deploy folder and see what you will get. If everything would be fine, try to restart JBoss server and look what happend then. If this would not help try to make jakarta-ojb.sar folder and unpack sar archive into it.


--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to