You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by NIRMALA Manivasagam <MN...@covansys.com> on 2005/08/30 07:03:03 UTC

Weblogic Deployment!!!!

Hello All,

When iam trying to deploy a war file in weblogic using  maven-webtest-plugin,iam getting the following errror.

my settings in build.properties file is:

maven.weblogic.username=weblogic
maven.weblogic.password=weblogic
maven.weblogic.targets=myserver
maven.weblogic.verbose=true
maven.weblogic.war=${maven.build.dir}/dctlController.war
maven.weblogic.adminurl= http://10.3.106.91:7001
maven.weblogic.debug=true
maven.weblogic.name=dctlcontroller
#maven.weblogic.source=${maven.build.dir}/${maven.final.name}.ear
maven.weblogic.source=D:/test/dctlController.war
maven.weblogic.failonerror=true
maven.weblogic.remote=true
maven.weblogic.home=C:/bea/weblogic81
maven.weblogic.ejbc.compiler=javac
maven.weblogic.ejbc.target=Jasmine.jar
maven.weblogic.classpath=C:/bea/weblogic81/server/lib/weblogic.jar
maven.weblogic.ejbc.source=${maven.build.dir}/ejb20_basic_statelessSession.ear

my settings in project.properties is:

<dependencies>
	<dependency>
		  <groupId>maven</groupId>
		  <artifactId>maven-j2ee-plugin</artifactId>
		  <version>1.5</version>
		  <type>plugin</type>
	</dependency>

		Uncomment this after having placed the weblogic.jar file as explained in the Release Notes
	<dependency>
		  <groupId>mcone</groupId>
		  <artifactId>weblogic</artifactId>
		  <jar>weblogic.jar</jar>
	</dependency>

<dependency>
		  <groupId>ant</groupId>
		  <artifactId>ant</artifactId>
		  <version>1.6</version>
		  <jar>ant-1.6.jar</jar>
	</dependency>
	</dependencies>
<build>
	<nagEmailAddress>abc@abc.com</nagEmailAddress>
<sourceDirectory>
	D:\Maven 1.0.2\bin\target
	<resources>
		<resource>
			<directory>
			${basedir}/logging
			</directory>
			<includes>
			<include>log4j.properties</include> 
			<include>${maven.build.src}/META-INF</include> 
			</includes>
		</resource>
	</resources>

	<unitTestSourceDirectory>
			</unitTestSourceDirectory>
</sourceDirectory>
</build>

error is:


build:start:

weblogic:deploy:
weblogic:log:
weblogic:prepare-deploy:
    [echo] Preparing deployment


    [java] Usage: java weblogic.Deployer [options] [actions] [File(s)]
    [java]
    [java] where options include:
    [java]     -adminurl <<protocol>://<server>:<port>> Administration server UR
L:
    [java]                       default iiop://localhost:7001
    [java] Unrecognized option or flag, -sourcerootforupload
    [java]     -username <username> user name

    [java]     -password <password> password for the user

    [java]     -userconfigfile <userconfigfile> The user config file contains th
e
    [java]                       user security credentials; it is
    [java]                       administered by the weblogic.Admin tool
    [java]     -userkeyfile <keyConfigFile> The users key file; it is administer
ed
    [java]                       by the weblogic.Admin tool.
    [java]     -examples         Displays example usage of this tool.
    [java]     -name <application name> Defaults to the basename of the deployme
nt
    [java]                       file or directory.
    [java]     -targets <<target(s)>> A comma separated list of targets for the

    [java]                       current operation. If not specified, all
    [java]                       configured targets are used. For a new
    [java]                       application, the default target is the
    [java]                       administration server.
    [java]     -deploy           Make an application available for service.
    [java]     -redeploy         Replace a running application partially or
    [java]                       entirely.
    [java]     -undeploy         Take an application out of service.
    [java]

BUILD FAILED
File...... C:\Documents and Settings\mnirmala\.maven\cache\maven-webtest-plugin-
0.1.0\plugin.jelly
Element... java
Line...... 105
Column.... 100
Java returned: 1
Total time: 3 seconds
Finished at: Tue Aug 30 10:32:45 GMT+05:30 2005


Thankyou,
Nirmala

-----Original Message-----
From: NIRMALA Manivasagam [mailto:MNirmala@covansys.com]
Sent: Friday, August 19, 2005 12:18 PM
To: users@maven.apache.org
Subject: To stop commit!!!!


Hi,


Iam trying to restrict the access of my repository to other users.

iam using pserver in windows 2000.i have created readers and writers file under CVSROOT.this is not allowing the users to restrict to access 

the repository....what can i do for that?? 

can anybody helpme in this point.

Thanks,
Nirmala
Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient,
please note that you are strictly prohibited from disseminating or distributing
this information (other than to the intended recipient) or copying this information. 
If you have received this communication in error, please notify us immediately 
by return email.



---------------------------------------------------------------------
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