[jbosstools-issues] [JBoss JIRA] (JBIDE-11282) JBoss 7.1: Missings JARs for starting an application client from Eclipse

Rob Stryker (JIRA) jira-events at lists.jboss.org
Tue Mar 20 01:49:47 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677861#comment-12677861 ] 

Rob Stryker commented on JBIDE-11282:
-------------------------------------

If I add client-all to the build path, but remove the following three files, the number of .class duplicates is lowered to zero. THe previous number of lines in the total number of resources was 8325 with 240 dups, so a total of 8085 unique files. By removing the following 4 files, the total line count goes to 8074 with 0 dups. The math doesn't work out 100%, but, the original query using only already-used jars had about 30 dups, and those all seem to have gone away, so it seems likely that some files duplicated between the removed files and the remaining files were removed. 

Either way, a 10 file difference out of 8300+ does not seem significant. 

I would vote for adding the client-all and removing the following jars:


> /home/rob/apps/jboss/zipped/jboss-as-7.1.0.Final/modules/javax/ejb/api/main/jboss-ejb-api_3.1_spec-1.0.1.Final.jar
8a10
> /home/rob/apps/jboss/zipped/jboss-as-7.1.0.Final/modules/javax/jms/api/main/jboss-jms-api_1.1_spec-1.0.0.Final.jar
19a22
> /home/rob/apps/jboss/zipped/jboss-as-7.1.0.Final/modules/javax/transaction/api/main/jboss-transaction-api_1.1_spec-1.0.0.Final.jar
33a37
> /home/rob/apps/jboss/zipped/jboss-as-7.1.0.Final/modules/org/jboss/logging/main/jboss-logging-3.1.0.GA.jar


                
> 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
>
>         Attachments: dupsClassFiles
>
>
> 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

        


More information about the jbosstools-issues mailing list