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

Jon Osborn reassigned MOJO-588:
-------------------------------

    Assignee: Jon Osborn

> [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
>            Assignee: Jon Osborn
>         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