"mattlf" wrote : Maybe there should not be a dot in the version number
MYPROJECT-JAR-1.0.spring ?
|
I doubt that dot is the cause.
How does your application.xml look like?
Perhaps you need to declare .spring jar as apps module:
(pseudo code, as it's been a while since I've done some real .ear)
Still it doesn't work. I must be doing something wrong. Maybe there should not
be a dot in the version number MYPROJECT-JAR-1.0.spring ?
Here is the exploded EAR and .spring
[EMAIL PROTECTED]:~/strateer-dev/branches/1.0/MYPROJECT-EAR/target/test$ jar
-xvf MYPROJECT-EAR-1.0.ear
| created: M
Still it doesn't work. I must be doing something wrong. Maybe there should not
be a dot in the version number MYPROJECT-JAR-1.0.spring ?
Here is the exploded EAR and .spring
[EMAIL PROTECTED]:~/strateer-dev/branches/1.0/MYPROJECT-EAR/target/test$ jar
-xvf MYPROJECT-EAR-1.0.ear
| created: M
"mattlf" wrote :
| 2008-11-17 17:43:45,552 14979 DEBUG 2008-11-17 17:43:45,632 15059 DEBUG
[org.jboss.deployment.EARDeployer] (main:) Extracted non-deployable content:
META-INF/jboss-spring.xml
| |
|
Why is this still in ear/META-INF?
"mattlf" wrote :
|
| | 2008-11-17 17:43:45
For some reasons I can not get it working
I trimed down a small project to the bare minimum
and here is the trace in jboss (doesn't see to bootstrap)
i am running out of ideas
2008-11-17 17:43:45,552 14979 DEBUG [org.jboss.deployment.MainDeployer] (main:)
Starting deployment of package:
file:/ho
"mattlf" wrote :
| I wonder if all JAR dependencies to MYPROJECT-IMPL.spring should also be
named as .spring ?
No, only the one's where you have jboss-spring.xml file in META-INF.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189812#4189812
Reply to the p
Hi Ales
Thanks again for your response
I feel I am close
The maven2 config is the following:
Add
|
|
|
|
to configuration in pom of EAR
I now see the following when copying the ear into deploy. But I still don't see
the Spring JMX that i declared in the jmx console. So th
"mattlf" wrote :
| How to get the EAR to package the .spring ?
|
Unfortunately I'm not a Maven expert. :-(
Try asking this on maven forum.
Or perhaps our 'Build system' forum.
But I would expect it's a simple config detail you need to setup.
View the original post :
http://www.jboss.com/i
Unfortunately I can't upgrade to Jboss5 and need to get it done with Jboss4
Thank you again for your reply and again I 'll ask for a little bit more help:
How to get the EAR to package the .spring ?
Here is what I did:
I modified MYPROJECT-IMPL-JAR so that it generates a .spring artefact. In or
Yeah, you should have a .spring deployment in your ear:
- my.ear
-- some-beans.spring
--- META-INF
jboss-spring.xml
--- com/acme/beans/...
ps: this is a lot simpler in JBoss5 ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189636#4189636
Reply to
Thank you for the tip. It helped
I downloaded jboss-spring-version4.zip from source forge
and replaced jboss-spring-jdk5.jar with jboss-spring-jdk5-2.5.jar found on
sourceforge as well
and deployed everything in deploy / jboss-spring-jdk5.deployer
and it works (Jboss starts properly)
But w
Read what the error msg says. ;-)
Copy jboss-service.xml from one of
complete deployer releases.
Or check JBossAS 4.x branches.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189246#4189246
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=pos
12 matches
Mail list logo