[jbosstools-issues] [JBoss JIRA] Reopened: (JBIDE-909) Publishing EAR and update failure

Bernd Ahrens (JIRA) jira-events at lists.jboss.org
Fri Sep 21 03:34:11 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBIDE-909?page=all ]

Bernd Ahrens reopened JBIDE-909:
--------------------------------

             
Hi there,

Test with JBossAS-Tools-200709210056-nightly.zip + JBossTools-Core-200709210056-nightly.zip

New Workspace
New Java Project testjava
New Dynamic Web Project testweb
New Ear Project testear

Deploy via WTP - everything is as aspected, 
Packing as a file testear.ear, with contaains a file testweb.war, with contains a file testjava.jar.
Test with a index.jsp, using 2 Test-Classes - ok!

Deploy via JBossAS:
The Structure looks ok, with
\server\default\deploy\testear.ear\testweb.war\WEB-INF\lib\testjava.jar

But:
The content of "testjava" is the same Content as the testweb.war, without the Classes of the testjava Projekt.
So the jsp is not testable, because of  Class not Found Error :
(  org.apache.jasper.JasperException: /index.jsp(17,0) The value for the useBean class attribute testjavapack.TestJava is invalid. )

To test the original Error, I make a change in the index.jsp and in a Java File. After a new Publishing the Changes are also in the deploy folder of the war in the ear-folder. So this Error is fixed.

But the structure and the JBoss IDE is  still not useable.

Maybe, there is a usererror from me?
In the Web Project, I marked the "testjava" Project at the J2EE Module Dependencies. So there is also a Mark at Project References.
So the buildpath is complete ( I get the hint for duplicate entry, if I try to add the Java Project. )
Could I do something?

Thanks for help or fixing.

Bernd


> Publishing EAR and update failure
> ---------------------------------
>
>                 Key: JBIDE-909
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-909
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 2.0.0.Beta3
>         Environment: wtp-all-in-one-sdk-R-2.0-200706260303-win32.zip,JBossAS-Tools-200709180102-nightly.zip,JBossTools-Core-200709180102-nightly.zip, jdk1.5.0_12
>            Reporter: Bernd Ahrens
>         Assigned To: Rob Stryker
>            Priority: Blocker
>             Fix For: 2.0.0.Beta4
>
>
> Hello, 
> I reproduced the behavior is with the new Nightly Build. 
> I am not sure, where and how to write a ?jira?, so here the steps for reprodducing: 
> I installed wtp-all-in-one-sdk-R-2.0-200706260303-win32.zip 
> with 
> JBossAS-Tools-200709180102-nightly.zip 
> and 
> JBossTools-Core-200709180102-nightly.zip 
> In an Eclipseextension folder. 
> Because with the Beta3 a got some erros in the preferences, like discussed in the forum. 
> Now I make a simple testear (EAR 1.4) Projekt and a testearWeb (Dynamic WebModule2.4) with a simple index.jsp. 
> In the EAR-Projekt under Properties / J2EE Module Dependencies I mark the "testearWeb" Projekt. 
> Publishing it to the local Server, the following structure is deployed: 
> c:\eclipse33\server\jboss-4.0.3SP1\server\default\deploy\testear.ear\testweb.war\index.jsp 
> Then I make a change on the index.jsp and push "Publish to the Server". 
> Now, there is a second folder for the war with only one file: 
> c:\eclipse33\server\jboss-4.0.3SP1\server\default\deploy\testearWeb.war\index.jsp 
> The first war-folder is still there, so you have two wars wih the same Context Root. 
> Why is there a second folder for the war? 
> Any ideas? 
> Could an Exploded Ear/War-Configuration help me? How is it configured? 
> ( Before I make a Test with JBossAS-Tools-200709170536-nightly.zip, there was also a second folder for the war, but with more Content, I mean?) 
> Thanks for help! 
> Bernd 
> PS: I will try to live for once whith the slowly WTP-Deploy-Functions, maybe, with a faster Tomcat for the Webcontainer, maybe with Sysdeo. Have you other suggestions for Eclipse33? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list