[ 
http://jira.codehaus.org/browse/MOJO-588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100323
 ] 

Debabrat commented on MOJO-588:
-------------------------------

Chnage your Environment
1. Maven 2.0.4
2. weblogic-maven-plugin:2.9.0-20061221.203929-8
enter the following in your pom
<plugin>
  <groupId>org.codehaus.mojo</groupId>
     <artifactId>weblogic-maven-plugin</artifactId>
          <version>2.9.0-20061221.203929-8</version>
          <configuration>
              <verbose>true</verbose>
              <debugging>true</debugging>
              <nowarnings>true</nowarnings>
              <keepGenerated>true</keepGenerated>
          </configuration>
         <executions>
             <execution>
        <phase>package</phase>
        <goals>
           <goal>appc</goal>
        </goals>
              </execution>
         </executions>
 </plugin>
3.WebLogic 9.2
4., jdk1.5.0_11
5.Windows XP 


> [Patch] Can't run weblogic:appc on Windows XP
> ---------------------------------------------
>
>                 Key: MOJO-588
>                 URL: http://jira.codehaus.org/browse/MOJO-588
>             Project: Mojo
>          Issue Type: Bug
>          Components: weblogic
>         Environment: Maven 2.0.4, weblogic-maven-plugin:2.9.0-SNAPSHOT, 
> WebLogic 9.2, JDK 1.5, Windows XP
>            Reporter: Erik Pilz
>         Attachments: WeblogicMojoUtilities.patch
>
>
> When running "mvn weblogic:appc" I get errors reported by Weblogic 
> complaining that it cannot find a number of classes in the web.xml file. Here 
> are some excerpts from the console:
> [INFO]  Argument List for Appc settings [-forceGeneration, -keepgenerated, 
> -verb
> ose, -classpath, 
> C:\Shared\Maven\aopalliance\aopalliance\1.0\aopalliance-1.0.jar
> :C:\Shared\Maven\javax\transaction\jta\1.0.1B\jta-1.0.1B.jar:C:\Shared\Maven\asp
> ectj\aspectjweaver\1.5.2\aspectjweaver-1.5.2.jar:C:\Shared\Maven\asm\asm-tree\2.
> [snip]
> [JspcInvoker]Checking web app for compliance.
> <Dec 16, 2006 6:02:04 PM PST> <Info> <HTTP> <BEA-101047> <[ComplianceChecker] 
> Va
> lidating the servlet element with servlet-name named "JspSupportServlet".>
> <Dec 16, 2006 6:02:04 PM PST> <Info> <HTTP> <BEA-101047> <[ComplianceChecker] 
> wa
> rning :The class "com.opensymphony.webwork.views.JspSupportServlet" referred 
> by
> the descriptor element "servlet-class" is not found. Please ensure that it is 
> pr
> esent in the classpath.>
> <Dec 16, 2006 6:02:04 PM PST> <Info> <HTTP> <BEA-101047> <[ComplianceChecker] 
> wa
> rning :The class "org.springframework.web.filter.CharacterEncodingFilter" 
> referr
> ed by the descriptor element "filter-class" is not found. Please ensure that 
> it
> is present in the classpath.>
> [snip]
> There are 2 nested errors:
> weblogic.servlet.internal.dd.compliance.ComplianceException: The class 
> "org.spri
> ngframework.web.context.request.RequestContextListener" referred by the 
> descript
> or element "listener" is not found. Please ensure that it is present in the 
> clas
> spath.
>         at 
> weblogic.servlet.internal.dd.compliance.BaseComplianceChecker.addDesc
> riptorError(BaseComplianceChecker.java:74)
>         at 
> weblogic.servlet.internal.dd.compliance.BaseComplianceChecker.addDesc
> riptorError(BaseComplianceChecker.java:80)
> Everything works fine on Ubuntu, but fails on Windows. This appears to be a 
> simple issue of the separator used between the artifacts. It looks like it 
> uses a colon rather than a semi-colon on Windows. I've attached a patch that 
> resolves the issue.

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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to