You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric YH WONG <er...@gmail.com> on 2006/12/12 09:07:35 UTC
About WebLogic Plugin - Help
Hi everyone,
I have urgent questions abt the weblogic plugin. I tried to
search on web and can't find the suitable solution.
Here is my current POM for the Weblogic plugin:
<?xml version="1.0"?>
<project>
<parent>
<artifactId>itms</artifactId>
<groupId>dttn</groupId>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>dttn.itms.ears</groupId>
<artifactId>itmsPortal</artifactId>
<name>itmsPortal</name>
<packaging>ear</packaging>
<version>1.0</version>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<pluginRepositories>
<pluginRepository>
<id>snapshots</id>
<name>Codehaus Snapshots</name>
<url>http://snapshots.repository.codehaus.org/</url>
</pluginRepository>
</pluginRepositories>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>weblogic-maven-plugin</artifactId>
<version>2.8.0-SNAPSHOT</version>
<configuration>
<adminServerHostName>localhost</adminServerHostName>
<adminServerPort>7001</adminServerPort>
<userId>weblogic</userId>
<password>password</password>
<objectPath>${project.build.outputDirectory}/../${project.artifactId}.${proj
ect.packaging}</objectPath>
<name>${project.artifactId}</name>
<staging>nostage</staging>
<lineNumbers>true</lineNumbers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>appc</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
When I tried to run mvn install. It comes out errors. So.Is
there anyone can point me out what the problem is it in the pom.xml. and how
to fix it ??
Thx
Eric
RE: About WebLogic Plugin - Help
Posted by Eric YH WONG <er...@gmail.com>.
Here is error
[INFO] Could not find manifest file:
C:\DTTN\ITMS\Source\itms\ears\itmsPortal\src\main\application\META-INF\MANIF
EST.MF - Generating one
[INFO] Building jar:
C:\DTTN\ITMS\Source\itms\ears\itmsPortal\target\itmsPortal-1.0.ear
Downloading:
http://snapshots.repository.codehaus.org//weblogic/webservices/8.1/webservic
es-8.1.pom
[WARNING] Unable to get resource from repository snapshots
(http://snapshots.repository.codehaus.org/)
Downloading:
http://repository.codehaus.org/weblogic/webservices/8.1/webservices-8.1.pom
[WARNING] Unable to get resource from repository codehaus.org
(http://repository.codehaus.org)
Downloading:
http://repo1.maven.org/maven2/weblogic/webservices/8.1/webservices-8.1.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
http://snapshots.repository.codehaus.org//weblogic/weblogic/8.1/weblogic-8.1
.pom
[WARNING] Unable to get resource from repository snapshots
(http://snapshots.repository.codehaus.org/)
Downloading:
http://repository.codehaus.org/weblogic/weblogic/8.1/weblogic-8.1.pom
[WARNING] Unable to get resource from repository codehaus.org
(http://repository.codehaus.org)
Downloading:
http://repo1.maven.org/maven2/weblogic/weblogic/8.1/weblogic-8.1.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO] [weblogic:appc {execution: default}]
[INFO] Weblogic APPC processing beginning for artifact
C:\DTTN\ITMS\Source\itms\ears\itmsPortal\target/itmsPortal-1.0.ear
[INFO] Detailed Appc settings information AppcMojo[
basicClientJar = false
forceGeneration = true
keepGenerated = true
lineNumbers = true
inputArtifactPath =
C:\DTTN\ITMS\Source\itms\ears\itmsPortal\target/itmsPortal-1.0.ear
outputArtifactPath = null
artifacts = []
project Packaging = ear
verbose = false]
[INFO] Using Classpath
[ERROR] Exception encountered during APPC processing
weblogic.utils.compiler.ToolFailureException: [J2EE:160117]Appc is unable to
continue processing file
'C:\DTTN\ITMS\Source\itms\ears\itmsPortal\target\itmsPortal-1.0.ear':
weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at li
ne: 7 column: 15. weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column:
15. The content of element type "application" is incomplete, it must match
"(icon?,display-name,description?,module+,securi
ty-role*)". - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at l
ine: 7 column: 15. weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column
: 15. The content of element type "application" is incomplete, it must
match "(icon?,display-name,description?,module+,secur
ity-role*)". - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".]]
at
weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:287)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:199)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:124)
at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:182)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:306
)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: weblogic.utils.compiler.ToolFailureException: [J2EE:160117]Appc
is unable to continue processing file 'C:\DTTN\ITM
S\Source\itms\ears\itmsPortal\target\itmsPortal-1.0.ear':
weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at li
ne: 7 column: 15. weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column:
15. The content of element type "application" is incomplete, it must match
"(icon?,display-name,description?,module+,securi
ty-role*)". - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at l
ine: 7 column: 15. weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column
: 15. The content of element type "application" is incomplete, it must
match "(icon?,display-name,description?,module+,secur
ity-role*)". - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".]]
at weblogic.appc.compileInput(appc.java:482)
at weblogic.appc.runBody(appc.java:186)
at weblogic.utils.compiler.Tool.run(Tool.java:192)
at weblogic.utils.compiler.Tool.run(Tool.java:147)
at weblogic.appc.main(appc.java:1037)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
... 21 more
--- Nested Exception ---
org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,de
scription?,module+,security-role*)".
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav
a:1189)
at weblogic.xml.jaxp.WebLogicParser.parse(WebLogicParser.java:67)
at
weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:137)
at
weblogic.j2ee.dd.xml.J2EEDeploymentDescriptorLoader_J2EE13.process(J2EEDeplo
ymentDescriptorLoader_J2EE13.java:151)
at weblogic.j2ee.dd.xml.DDUtils.processXML(DDUtils.java:369)
at weblogic.j2ee.dd.xml.DDUtils.processXML(DDUtils.java:322)
at weblogic.j2ee.dd.xml.DDUtils.loadStdDescriptor(DDUtils.java:217)
at weblogic.appc.compileEAR(appc.java:720)
at weblogic.appc.compileInput(appc.java:460)
at weblogic.appc.runBody(appc.java:186)
at weblogic.utils.compiler.Tool.run(Tool.java:192)
at weblogic.utils.compiler.Tool.run(Tool.java:147)
at weblogic.appc.main(appc.java:1037)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:199)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:124)
at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:182)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:306
)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
--------------- nested within: ------------------
weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at li
ne: 7 column: 15. weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column:
15. The content of element type "application" is incomplete, it must match
"(icon?,display-name,description?,module+,securi
ty-role*)". - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".]
at weblogic.j2ee.dd.xml.DDUtils.loadStdDescriptor(DDUtils.java:234)
at weblogic.appc.compileEAR(appc.java:720)
at weblogic.appc.compileInput(appc.java:460)
at weblogic.appc.runBody(appc.java:186)
at weblogic.utils.compiler.Tool.run(Tool.java:192)
at weblogic.utils.compiler.Tool.run(Tool.java:147)
at weblogic.appc.main(appc.java:1037)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:199)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:124)
at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:182)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:306
)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
--------------- nested within: ------------------
weblogic.utils.compiler.ToolFailureException: [J2EE:160117]Appc is unable to
continue processing file 'C:\DTTN\ITMS\Source\it
ms\ears\itmsPortal\target\itmsPortal-1.0.ear':
weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at li
ne: 7 column: 15. weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column:
15. The content of element type "application" is incomplete, it must match
"(icon?,display-name,description?,module+,securi
ty-role*)". - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at l
ine: 7 column: 15. weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column
: 15. The content of element type "application" is incomplete, it must
match "(icon?,display-name,description?,module+,secur
ity-role*)". - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".]]
at weblogic.appc.compileInput(appc.java:482)
at weblogic.appc.runBody(appc.java:186)
at weblogic.utils.compiler.Tool.run(Tool.java:192)
at weblogic.utils.compiler.Tool.run(Tool.java:147)
at weblogic.appc.main(appc.java:1037)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:199)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:124)
at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:182)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:534)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:306
)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Exception encountered during APPC processing
Embedded error: weblogic.utils.compiler.ToolFailureException:
[J2EE:160117]Appc is unable to continue processing file 'C:\DTT
N\ITMS\Source\itms\ears\itmsPortal\target\itmsPortal-1.0.ear':
weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at li
ne: 7 column: 15. weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column:
15. The content of element type "application" is incomplete, it must match
"(icon?,display-name,description?,module+,securi
ty-role*)". - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[weblogic.management.DeploymentException: Error while loading descriptors:
Error parsing file 'META-INF/application.xml' at l
ine: 7 column: 15. weblogic.xml.process.XMLParsingException: Error parsing
file 'META-INF/application.xml' at line: 7 column
: 15. The content of element type "application" is incomplete, it must
match "(icon?,display-name,description?,module+,secur
ity-role*)". - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".] - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "application" is
incomplete, it must match "(icon?,display-name,d
escription?,module+,security-role*)".]]
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Tue Dec 12 14:03:33 CST 2006
[INFO] Final Memory: 9M/17M
[INFO]
------------------------------------------------------------------------
-----Original Message-----
From: bjorn.de.bakker@accenture.com [mailto:bjorn.de.bakker@accenture.com]
Sent: Tuesday, 12 December 2006 4:36 PM
To: users@maven.apache.org
Subject: RE: About WebLogic Plugin - Help
What errors do you get?
-----Original Message-----
From: Eric YH WONG [mailto:ericyhwong.maven@gmail.com]
Sent: mardi 12 décembre 2006 9:08
To: users@maven.apache.org
Subject: About WebLogic Plugin - Help
Hi everyone,
I have urgent questions abt the weblogic plugin. I tried to
search on web and can't find the suitable solution.
Here is my current POM for the Weblogic plugin:
<?xml version="1.0"?>
<project>
<parent>
<artifactId>itms</artifactId>
<groupId>dttn</groupId>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>dttn.itms.ears</groupId>
<artifactId>itmsPortal</artifactId>
<name>itmsPortal</name>
<packaging>ear</packaging>
<version>1.0</version>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<pluginRepositories>
<pluginRepository>
<id>snapshots</id>
<name>Codehaus Snapshots</name>
<url>http://snapshots.repository.codehaus.org/</url>
</pluginRepository>
</pluginRepositories>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>weblogic-maven-plugin</artifactId>
<version>2.8.0-SNAPSHOT</version>
<configuration>
<adminServerHostName>localhost</adminServerHostName>
<adminServerPort>7001</adminServerPort>
<userId>weblogic</userId>
<password>password</password>
<objectPath>${project.build.outputDirectory}/../${project.artifactId}.${proj
ect.packaging}</objectPath>
<name>${project.artifactId}</name>
<staging>nostage</staging>
<lineNumbers>true</lineNumbers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>appc</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
When I tried to run mvn install. It comes out errors. So.Is
there anyone can point me out what the problem is it in the pom.xml. and how
to fix it ??
Thx
Eric
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: About WebLogic Plugin - Help
Posted by bj...@accenture.com.
What errors do you get?
-----Original Message-----
From: Eric YH WONG [mailto:ericyhwong.maven@gmail.com]
Sent: mardi 12 décembre 2006 9:08
To: users@maven.apache.org
Subject: About WebLogic Plugin - Help
Hi everyone,
I have urgent questions abt the weblogic plugin. I tried to
search on web and can't find the suitable solution.
Here is my current POM for the Weblogic plugin:
<?xml version="1.0"?>
<project>
<parent>
<artifactId>itms</artifactId>
<groupId>dttn</groupId>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>dttn.itms.ears</groupId>
<artifactId>itmsPortal</artifactId>
<name>itmsPortal</name>
<packaging>ear</packaging>
<version>1.0</version>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<pluginRepositories>
<pluginRepository>
<id>snapshots</id>
<name>Codehaus Snapshots</name>
<url>http://snapshots.repository.codehaus.org/</url>
</pluginRepository>
</pluginRepositories>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>weblogic-maven-plugin</artifactId>
<version>2.8.0-SNAPSHOT</version>
<configuration>
<adminServerHostName>localhost</adminServerHostName>
<adminServerPort>7001</adminServerPort>
<userId>weblogic</userId>
<password>password</password>
<objectPath>${project.build.outputDirectory}/../${project.artifactId}.${proj
ect.packaging}</objectPath>
<name>${project.artifactId}</name>
<staging>nostage</staging>
<lineNumbers>true</lineNumbers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>appc</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
When I tried to run mvn install. It comes out errors. So.Is
there anyone can point me out what the problem is it in the pom.xml. and how
to fix it ??
Thx
Eric
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org