• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

remote server start

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Change your protocol to t3 instead of http
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please DontWakeTheZombies
 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic