Now I'll finish this - apologies for the non-finished mail.

 

 

Hi, I wonder if someone could suggest where this has gone wrong.

 

I'm using the 2.9.3-SNAPSHOT of the weblogic-maven-plugin as I couldn't
get earlier versions to work with WebLogic 10.3.2. It all seems to be
working fine for deployments from my PC, both local deployment and to a
remote WebLogic server.

 

The problem I have is with one other PC which cannot get a deployment to
run successfully without this error

 

>>java.net.MalformedURLException: no protocol: and

 

I'm using exactly the same POM, same URL and the same WebLogic server
that I've been using for remote deployment from my own PC.

 

I've included the debug trace from the plugin below, but you can see the
problem start with this line

 

>>[MBeanCache.addNotificationListener():107] : Disabling mbean caching
due to: java.net.MalformedURLException: no protocol: and

 

If anyone has any ideas, that would be great as I've tried everything I
can think of so far to get this to work. 

 

Pete

 

[INFO] Installing C:\temp\V2.6WLS10\Destin8Deployment\pom.xml to
C:\Documents and Settings\mcpadmin\.m2\repository\com\mcpplc\destin

8\destin8-deployment\2.6.1-SNAPSHOT\destin8-deployment-2.6.1-SNAPSHOT.po
m

[INFO] [weblogic:deploy {execution: default}]

[INFO] Weblogic Deployment beginning with parameters
DeployMojoBase[adminServerHostName = mcpvm01-rd, adminServerProtocol =
T3, admin

ServerPort = 7001, userId = system, password = ****, artifactPath =
C:\temp\V2.6WLS10\Destin8Deployment\target/ears/destin8-app.ear,

 projectPackaging = ear, name = destin8-app, targetNames = AdminServer,
remote = true]

[INFO] Weblogic Deployment parameters [-adminurl, T3://mcpvm01-rd:7001,
-username, system, -password, webl0gic, -debug, -noexit, -nam

e, destin8-app, -targets, AdminServer, -upload, -source,
C:\temp\V2.6WLS10\Destin8Deployment\target/ears/destin8-app.ear,
-deploy]

weblogic.Deployer invoked with options:  -adminurl T3://mcpvm01-rd:7001
-username system -debug -noexit -name destin8-app -targets Ad

minServer -upload -source
C:\temp\V2.6WLS10\Destin8Deployment\target/ears/destin8-app.ear -deploy

[WebLogicDeploymentManagerImpl.<init>():103] : Constructing
DeploymentManager for J2EE version V1_4 deployments

[WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to
admin server at mcpvm01-rd:7001, as user system

[ServerConnectionImpl.getEnvironment():285] : setting environment

[ServerConnectionImpl.getEnvironment():288] : getting context using
T3://mcpvm01-rd:7001

[ServerConnectionImpl.getMBeanServer():236] : Connecting to MBeanServer
at
service:jmx:t3://mcpvm01-rd:7001/jndi/weblogic.management.mbeanservers.d
omainruntime

[ServerConnectionImpl.getMBeanServer():236] : Connecting to MBeanServer
at
service:jmx:t3://mcpvm01-rd:7001/jndi/weblogic.management.mbeanservers.r
untime

[DomainManager.resetDomain():36] : Getting new domain

[DomainManager.resetDomain():39] : Using pending domain: false

[MBeanCache.addNotificationListener():96] : Adding notification listener
for weblogic.deploy.api.spi.deploy.mbeans.targetca...@94a28e

[MBeanCache.addNotificationListener():107] : Disabling mbean caching due
to: java.net.MalformedURLException: no protocol: and

[MBeanCache.addNotificationListener():96] : Adding notification listener
for weblogic.deploy.api.spi.deploy.mbeans.moduleca...@1c1f2

[MBeanCache.addNotificationListener():107] : Disabling mbean caching due
to: java.net.MalformedURLException: no protocol: and

[ServerConnectionImpl.initialize():168] : Connected to WLS domain:
Destin811g

[ServerConnectionImpl.setRemote():479] : Running in remote mode

[ServerConnectionImpl.init():158] : Initializing ServerConnection :
weblogic.deploy.api.spi.deploy.internal.serverconnectioni...@2e8

79

[BasicOperation.dumpTmids():689] : Incoming tmids:

[BasicOperation.dumpTmids():691] :   {Target=AdminServer,
WebLogicTargetType=server, Name=destin8-app}, targeted=true

[BasicOperation.deriveAppName():140] : appname established as:
destin8-app

<12-Mar-2010 21:16:36 o'clock GMT> <Info> <J2EE Deployment SPI>
<BEA-260121> <Initiating deploy operation for application, destin8-app
[archive:
C:\temp\V2.6WLS10\Destin8Deployment\target\ears\destin8-app.ear], to
AdminServer .>

[ServerConnectionImpl.upload():806] : Uploaded app to
C:\domains\user_projects\Destin811g\.\servers\AdminServer\upload\destin8
-app

[BasicOperation.dumpTmids():689] : Incoming tmids:

[BasicOperation.dumpTmids():691] :   {Target=AdminServer,
WebLogicTargetType=server, Name=destin8-app}, targeted=true

[BasicOperation.loadGeneralOptions():606] : Delete Files:false

Timeout :3600000

Targets:

AdminServer

ModuleTargets={}

SubModuleTargets={}

}

Files:

null

Deployment Plan: null

App root:
C:\domains\user_projects\Destin811g\.\servers\AdminServer\upload\destin8
-app

App config:
C:\domains\user_projects\Destin811g\.\servers\AdminServer\upload\destin8
-app\plan

Deployment Options:
{isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgn
oreSessions=false,rmiGracePeriod=-1,reti

reTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersi
on=null,isLibrary=false,libSpecVersion=null,libImplVersion=n

ull,stageMode=null,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=
destin8-app,securityModel=null,securityValidationEnabled=fal

se,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaul
tSubmoduleTargets=true,timeout=0deploymentPrincipalName=null

,useExpiredLock=false}

 

[BasicOperation.execute():423] : Initiating deploy operation for app,
destin8-app, on targets:

[BasicOperation.execute():425] :    AdminServer

java.net.MalformedURLException: no protocol: and

        at java.net.URL.<init>(URL.java:567)

        at java.net.URL.<init>(URL.java:464)

        at java.net.URL.<init>(URL.java:413)

        at
sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:751)

        at
sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147)

        at
java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)

        at
java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)

        at
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:1
97)

        at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)

        at
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)

        at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732
)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

        at
java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)

        at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)

        at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

        at java.rmi.MarshalledObject.get(MarshalledObject.java:142)

        at
javax.management.remote.rmi.RMIConnectionImpl$6.run(RMIConnectionImpl.ja
va:1513)

        at
javax.management.remote.rmi.RMIConnectionImpl.unwrap(RMIConnectionImpl.j
ava:1505)

        at
javax.management.remote.rmi.RMIConnectionImpl.access$500(RMIConnectionIm
pl.java:72)

        at
javax.management.remote.rmi.RMIConnectionImpl$7.run(RMIConnectionImpl.ja
va:1548)

        at
javax.management.remote.rmi.RMIConnectionImpl.unwrap(RMIConnectionImpl.j
ava:1544)

        at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.j
ava:771)

        at
javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown
Source)

        at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)

        at
weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)

        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:363)

        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147
)

        at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:4
73)

        at
weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:1
18)

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

[ServerConnectionImpl.close():331] : Closing DM connection

[ServerConnectionImpl.close():351] : Unregistered all listeners

[ServerConnectionImpl.closeJMX():371] : Closed JMX connection

[ServerConnectionImpl.closeJMX():383] : Closed Runtime JMX connection

[ServerConnectionImpl.closeJMX():395] : Closed Edit JMX connection

Reply via email to