[
https://issues.jboss.org/browse/JBIDE-11282?page=com.atlassian.jira.plugi...
]
Rob Stryker edited comment on JBIDE-11282 at 3/20/12 1:33 AM:
--------------------------------------------------------------
{code}
# currentJars.files contains a list of the current files already on an as71 project's
classpath
cat currentJars.files | awk '{ print "cp " $0 " tmp/ && unzip
-d tmp/ tmp/*.jar > /dev/null && du -a tmp/ | cut -f 2 | cut -c 1,2,3,4
--complement >> ./currentAllOut && rm -rf tmp/*";}' | sh #
generate a list of all resources inside jars
cat currentAllOut | wc -l -> 5698
cat currentAllOut | sort | uniq -d | wc -l # result is 32 duplicated files, all are
folders
unzip -l ~/apps/jboss/zipped/jboss-as-7.1.0.Final/bin/client/jboss-client-7.1.0.Final.jar
| sed 's/52 /@/g' | cut -d "@" -f 2 > as71clientjar.inner.files
cat currentAllOut as71clientjar.inner.files | wc -l -> 8325 # an increase in lines
cat currentAllOut as71clientjar.inner.files | sort | uniq -d | wc -l # result is 240, an
increased number of duplicates, means many extra classes
cat currentAllOut as71clientjar.inner.files | sort | uniq -d > ./dups
cat dups | grep "class$" | wc -l # result is 200
{code}
It seems all of the dups are in jboss logging, javax.transaction, javax.jms, javax.ejb.
Duplicate list attached.
was (Author: rob.stryker):
{code}
# currentJars.files contains a list of the current files already on an as71 project's
classpath
cat currentJars.files | awk '{ print "cp " $0 " tmp/ && unzip
-d tmp/ tmp/*.jar > /dev/null && du -a tmp/ | cut -f 2 | cut -c 1,2,3,4
--complement >> ./currentAllOut && rm -rf tmp/*";}' | sh #
generate a list of all resources inside jars
cat currentAllOut | wc -l -> 5698
cat currentAllOut | sort | uniq -d | wc -l # result is 32 duplicated files, all are
folders
unzip -l ~/apps/jboss/zipped/jboss-as-7.1.0.Final/bin/client/jboss-client-7.1.0.Final.jar
| sed 's/52 /@/g' | cut -d "@" -f 2 > as71clientjar.inner.files
cat currentAllOut as71clientjar.inner.files | wc -l -> 8325 # an increase in lines
cat currentAllOut as71clientjar.inner.files | sort | uniq -d | wc -l # result is 240 #
same number of duplicates, means no extra classes
cat currentAllOut as71clientjar.inner.files | sort | uniq -d > ./dups
cat dups | grep "class$" | wc -l # result is 200
{code}
It seems all of the dups are in jboss logging, javax.transaction, javax.jms, javax.ejb.
Duplicate list attached.
JBoss 7.1: Missings JARs for starting an application client from
Eclipse
------------------------------------------------------------------------
Key: JBIDE-11282
URL:
https://issues.jboss.org/browse/JBIDE-11282
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Affects Versions: 3.3.0.M5
Environment: Nightly build of 2012-03-12, Eclipse 3.7.1
Reporter: Wolfgang Knauf
Assignee: Rob Stryker
Fix For: 3.3.0.Beta3
I start an application client directly from inside Eclipse which performs a JNDI lookup
(JBoss 7.1.0 GA server).
This fails with an exception because of missing JARs, see this forum post for the full
error:
https://community.jboss.org/thread/195162
Since I wrote this post, JBoss added a new library
"jboss-as-7.1.0.Final\bin\client\jboss-client-7.1.0.Final.jar". After adding
this JAR to the build path, my sample app worked. But for previous server versions
(jboss-as-7.1.0.CR1), I had to add the JARs from my forum post.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira