-
1. Re: as-upgrader.sh issue downloading from the jboss repository
jesper.pedersen Mar 8, 2012 8:34 AM (in response to jleinawe)Just download the latest snapshot of AS7 - https://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-7.0.x/ - to get our latest JCA 1.6 support. What are you looking for ?
And IronJacamar 1.1 isn't supported inside AS7 yet.
-
2. Re: as-upgrader.sh issue downloading from the jboss repository
jleinawe Mar 8, 2012 10:31 AM (in response to jesper.pedersen)I'm trying to deploy a resource-adapter (for WebLogic) in JBoss AS7. The resource-adapter's AdminObjects implement ResourceAdapterAssociation which is part of the JCA 1.6 spec. I'll give the snapshot a try.
-
3. Re: as-upgrader.sh issue downloading from the jboss repository
jesper.pedersen Mar 8, 2012 10:31 AM (in response to jleinawe)You need 1.0.9-SNAPSHOT
-
4. Re: as-upgrader.sh issue downloading from the jboss repository
jleinawe Mar 8, 2012 12:13 PM (in response to jesper.pedersen)thanks Jesper,
I'm still new to using JBoss and downloading nightly builds or snapshots. What does "1.0.9-SNAPHOT" mean? If I go to the link you provided above, I see something called "7.0.x". Is there another url I go to that will have a linke to 1.0.9-SNAPSHOT?
thanks for your very timely responses.
-
5. Re: as-upgrader.sh issue downloading from the jboss repository
jesper.pedersen Mar 8, 2012 12:16 PM (in response to jleinawe)No, download the latest ZIP file from the above URL.
Then use the ./as-upgrader.sh script with the 1.0.9-SNAPSHOT version identifer on the extracted ZIP file. You will need to do both steps due to https://issues.jboss.org/browse/JBJCA-754.
Or start with https://community.jboss.org/wiki/HackingonAS7 , and do <version.org.jboss.ironjacamar>1.0.9-SNAPSHOT</version.org.jboss.ironjacamar> in the main pom.xml file.
-
6. Re: as-upgrader.sh issue downloading from the jboss repository
jleinawe Mar 8, 2012 1:36 PM (in response to jesper.pedersen)I seem to be back to my original issue, not able download via the as-upgrader tool.
Here are my steps:
1) Download AS 7 https://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-7.0.x/lastSuccessfulBuild/artifact/build/target/jboss-7.0.x.zip
2) Unzip this in c:\jboss
3) Download Ironjacamar 1.0.8 http://sourceforge.net/projects/jboss/files/IronJacamar/1.0.8.Final/
4) also unzip this in c:\jboss
5) go to c:\jboss\ironjacamar-1.0.8.Final\doc\as
6) run "as-upgrader.bat 1.0.9-SNAPSHOT c:\jboss\jboss-as-7.1.1.Final-SNAPSHOT"
I see this error
03/02/2012 08:45 AM 10,467 ironjacamar-as.jar 3 File(s) 10,541 bytes 2 Dir(s) 37,090,365,440 bytes free C:\jboss\ironjacamar-1.0.8.Final\doc\as>as-upgrader.bat 1.0.9-SNAPSHOT c:\jboss\
jboss-as-7.1.1.Final-SNAPSHOT
C:\jboss\ironjacamar-1.0.8.Final\doc\as>java -jar ironjacamar-as.jar 1.0.9-SNAPS
HOT c:\jboss\jboss-as-7.1.1.Final-SNAPSHOT
Version: 1.0.9-SNAPSHOT
AS installation: c:\jboss\jboss-as-7.1.1.Final-SNAPSHOT
Upgrade unsuccessful
Error: Could not download: http://repository.jboss.org/nexus/content/groups/publ
ic/org/jboss/ironjacamar/ironjacamar-common-api/1.0.9-SNAPSHOT/ironjacamar-commo
n-api-1.0.9-SNAPSHOT.jar
java.io.IOException: Could not download: http://repository.jboss.org/nexus/conte
nt/groups/public/org/jboss/ironjacamar/ironjacamar-common-api/1.0.9-SNAPSHOT/iro
njacamar-common-api-1.0.9-SNAPSHOT.jar
at org.jboss.jca.as.upgrader.Main.downloadArtifact(Main.java:196) at org.jboss.jca.as.upgrader.Main.download(Main.java:163) at org.jboss.jca.as.upgrader.Main.main(Main.java:94) Am I doing this correctly?
-
7. Re: as-upgrader.sh issue downloading from the jboss repository
jesper.pedersen Mar 8, 2012 1:48 PM (in response to jleinawe)Use the as-upgrader from the IronJacamar 1.1.0.Alpha6 distribution - I don't think I added -SNAPSHOT support in the 1.0 series...
-
8. Re: as-upgrader.sh issue downloading from the jboss repository
jleinawe Mar 8, 2012 1:56 PM (in response to jesper.pedersen)just tried it, fails - note the "null" in the jar file name
C:\jboss\ironjacamar-1.1.0.Alpha6\doc\as>as-upgrader.bat 1.0.9-SNAPSHOT c:\jboss\jboss-as-7.1.1.Final-SNAPSHOT
C:\jboss\ironjacamar-1.1.0.Alpha6\doc\as>java -jar ironjacamar-as.jar 1.0.9-SNAPSHOT c:\jboss\jboss-as-7.1.1.Final-SNAPSHOT
Version: 1.0.9-SNAPSHOT
AS installation: c:\jboss\jboss-as-7.1.1.Final-SNAPSHOT
Upgrade unsuccessful
Error: Could not download: http://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/ironjacamar/ironjacamar-common-api/1.0.9-SNAPSHOT/ironjacamar-common-api-null.jar
java.io.IOException: Could not download: http://repository.jboss.org/nexus/content/repositories/snapshots/org/jboss/ironjacamar/ironjacamar-common-api/1.0.9-SNAPSHOT/ironjacamar-common-api-null.jar
at org.jboss.jca.as.upgrader.Main.downloadSnapshotArtifact(Main.java:250
)
at org.jboss.jca.as.upgrader.Main.download(Main.java:172)
at org.jboss.jca.as.upgrader.Main.main(Main.java:98)
C:\jboss\ironjacamar-1.1.0.Alpha6\doc\as>
-
9. Re: as-upgrader.sh issue downloading from the jboss repository
jesper.pedersen Mar 8, 2012 2:22 PM (in response to jleinawe)Hmm, it was unable to download or find the version information in the Maven metadata... It works here.
You can manually download the JARs and override the ones in modules/org/jboss/ironjacamar
I'll look at it, if you don't beat me to it...
-
10. Re: as-upgrader.sh issue downloading from the jboss repository
jesper.pedersen Mar 8, 2012 2:46 PM (in response to jesper.pedersen)Next nightly snapshot of 1.1.0-SNAPSHOT will give you a more precise error message; but the original problem will remain.
-
11. Re: as-upgrader.sh issue downloading from the jboss repository
jleinawe Mar 8, 2012 3:03 PM (in response to jesper.pedersen)thanks again for helping with this.
When you suggest manually downloading the jars, do you mean picking up something like ironjacamar-common-api-1.0.9-20120305.141240-1.jar
from
I only find classes, not jars on the ironjacamar-common-api-1.0.9*.jar file. I'm not sure how to apply these to the JBoss
-
12. Re: as-upgrader.sh issue downloading from the jboss repository
jleinawe Mar 8, 2012 8:52 PM (in response to jleinawe)Hi Jesper,
I got the upgrade to work. Something to do with the corporate network, I tried this at home and it ran successfully. thanks for your time.