• Post Reply Bookmark Topic Watch Topic
  • New Topic

remote server start  RSS feed

 
robbie keane
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell me if there are any softwars available using which I can remotely start/stop Weblogic Server and do a deployment.
Basically I'm writing a batch which will be run from my command prompt and I have to do deployment remotely. I'm presently mapping a server drive using "net use". This way the start/stop batch runs on my local command prompt but it executes remote server's batch
Thanks in advance.
 
Joe Ess
Bartender
Posts: 9436
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weblogic has several facilities to do remote deploys. In WLS 8.1, you can use the weblogic.Deployer class to deploy/redeploy/undeploy. No need to restart the server. Check your documentation for the specifics on other versions.
 
robbie keane
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Joe. but when i ran the command (given below), i got java.net.ProtocolException.
If i view this url from browser, and my path is http://CO-Bank:8000 there is 404 error but if I write http://CO-Bank:8000/cobankprj/cobank.portal, the site come up. Please help.


C:\>java -cp C:\bea812\jdk141_05\jre\lib\rt.jar;C:\bea812\weblogic81\server\lib\
weblogic.jar;%CLASSPATH% weblogic.Admin -url http://CO-Bank:8000 -usernam
e weblogic -password weblogic FORCESHUTDOWN COBANKManagedServer

Failed to connect to http://CO-Bank:8000: Destination unreachable; nested
exception is:
java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
erver at host: 'CO-Bank' and port: '8000' a WebLogic Server?; No availabl
e router to destination

Why does it not connect to this valid url?
[ February 10, 2006: Message edited by: robbie keane ]
 
Ray Ward
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Robbie,

Did you ever figure this out? I'm trying to do something similar -- querying and setting weblogic server parameters before deploying an app -- and I'm getting the same error:

Destination unreachable; nested exception is: java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: blah...

Do you have to have a domain-wide SSL admin port set up for this to work?

TIA,

Ray
 
n mohan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change your protocol to t3 instead of http
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please DontWakeTheZombies
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!